Package for pulling datasets using the Snelstart API
Project description
SnelStart
Package for pulling datasets using the Snelstart API and exporting them to a pandas dataframe.
Installation
pip install snelstart
Usage
for an extensive list of examples, please refer to the Snelstart test suite. for snelstart api documentation, see Snelstart developers portal
request any endpoint from the documentation.
This operation will return a json dataset.
from snelstart import SnelStart
snel = SnelStart(module="artikelen")
data = snel.request_data()
use preformatted sets
These will return a pandas DataFrame
from snelstart import SnelStart
snel = SnelStart(module="artikelen")
df = snel.get_data()
environment variables
The following environment variables need to be set:
- SNELSTART_CLIENT_KEY: the client key of the administration
- SNELSTART_SUBSCRIPTION_KEY: the subscription key of the application supplier.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snelstart-0.2.1.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file snelstart-0.2.1.tar.gz
.
File metadata
- Download URL: snelstart-0.2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45bf36be6e6fb705ab1aeb12700deb491e06d3995c5e1d4d7eebcce216a09fd |
|
MD5 | b7c76a5abd14b2b113106c332a54fcde |
|
BLAKE2b-256 | e02ed065e2e43b1221ca3f13f52370566e41d8d7a30e48c339c05b7805dcbf32 |
File details
Details for the file snelstart-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: snelstart-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9753242433a35e7be860607020ff0c392cad755d31c65de7103c7e9eef9ab437 |
|
MD5 | c8bc22aff2ed2de5fe5cf5ca800ca6f9 |
|
BLAKE2b-256 | 69ed75fa3d23503236fa685af1cf353f33ab0f43934454cdf48810983cac5146 |