Skip to main content

Python library for JoshuaProject.net

Project description

Joshua Project Python Library

This is a Python library to help one use APIv2 to fetch the data from the database JoshuaProject.net web site.

This library uses Joshua Project's APIv2. You'll need an api_key to use API and the library. Get it here. For details, see Documentation.

Install

pip install joshuaproject

How to use

URL Constricting finctions

1. Get your API key

From here and set it in a variable or pass to functions:

api_key='set_your_key'

Get all people groups in a specific country. Countries are encoded

url_pgs_cntry('RS',api_key=api_key)
'https://joshuaproject.net/api/v2/people_groups?ROG3=RS&api_key=set_your_key'

Development

All phases of development (coding, testing, documentation -- autogenerated) are being done completely inside Jupyter Notebooks, thanks to excellent tool nbdev by Fast.ai.

Contribution

Ideas, issues and pull-requests are welcome! Please submit via GitHub.

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

joshuaproject-0.0.2.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

joshuaproject-0.0.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page