-
Notifications
You must be signed in to change notification settings - Fork 13
Ticker data
The data for a ticker can be retrieved from the support site route /ticker/${tickerId}.json
. The tickerId
must match the corresponding key from the ticker config from S3. This config is defined as JSON in S3 in the membership-private bucket, under /{STAGE}/ticker.conf.json
.
The tickerId
for the US campaign is "US". So the route to retrieve the data for the US will be /ticker/US.json
.
This route works on PROD and CODE, and will return the appropriate data for each environment. Each environment's data is written to S3 by a Lambda in the contributions-ticker bucket, under /{STAGE}/{TickerID}.json
.
The routes above can be used whether the ticker is reporting on a money target OR a supporter target.
For DEV if working on a ticker with a money target you can use the dummy route /ticker.json
. If it's a ticker with a supporter target you can use the dummy route /supporters-ticker.json
, both these routes contain dummy data that can be manipulated during dev.
This repo contains all this info: https://github.com/guardian/contributions-ticker-calculator
- Redux Glossary
- Why Redux Toolkit?
- Writing state slices with Redux Toolkit
- Handling action side effects in Redux
- Presentational and Container Components
- Scoped actions and reducers
- Server Side Rendering
- Form validation
- CI build process
- Post deployment testing
- Post deployment test runbook
- TIP Real User Testing
- Code testing and validation
- Visual testing
- Testing Apple Pay locally
- Test Users
- Deploying to CODE
- Automated IT tests
- Deploying Fastly VCL Snippets
- Archived Components
- Authentication
- Switchboard
- How to make a fake contribution
- The epic and banner
- Environments
- Tech stack
- Supported browsers
- Contributions Internationalisation
- Payment method internationalisation in Guardian Weekly
- Print fulfilment/delivery
- Updating the acquisitions model
- Runscope testing
- Scala Steward for dependency management
- Alarm Investigations
- Ticker data
- Ophan
- Quantum Metric
- [Google Tag Manager] (https://github.com/guardian/support-frontend/wiki/Google-Tag-Manager)