A Python client for the GOV.UK Performance Platform
This repo contains a pip-installable client library for interacting with the Performance Platform.
Workflow
developer
You're adata
You needBut how do you get there?
Well, with the client you can...
Pull data
from performanceplatform.client import DataSet
data_set = DataSet.from_group_and_type(
'https://www.performance.service.gov.uk/data',
'gov-uk-content', 'top-urls')
response = data_set.get()
and push it
from performanceplatform.client import DataSet
data_set = DataSet.from_group_and_type(
'https://www.performance.service.gov.uk/data',
'gov-uk-conten', 'top-urls',
token='your-secret-token')
data_set.post({'foo': 'bar'})