SDK for accessing Prokerala API
Project description
Python client
This is a sample API client written in Python for accessing Prokerala Astrology API.
Installation
Install the package from Python Package Index
pip install prokerala-api
Usage
You can find your clientId and clientSecret in your dashboard
Kundli
#!/usr/bin/env python
from prokerala_api import ApiClient
import json
def run():
client = ApiClient('YOUR_CLIENT_ID', 'YOUR_CLIENT_SECRET')
result = client.get('v2/astrology/kundli/advanced', {
'ayanamsa': 1,
'coordinates': '23.1765,75.7885',
'datetime': '2020-10-19T12:31:14+00:00'
})
print json.dumps(result, indent=4)
if __name__ == '__main__':
run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prokerala-api-0.1.0.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prokerala-api-0.1.0.tar.gz.
File metadata
- Download URL: prokerala-api-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4263623cc2abbf62ed4d17495c490003e604a45a67b0645f3f865d09d2f0ed95
|
|
| MD5 |
70b8763338be7b9b2a1dad5ddd8815ca
|
|
| BLAKE2b-256 |
80fef409f2d7a1a77128d9415446d79b65416ad223f375d315b71e2855b0f5d0
|
File details
Details for the file prokerala_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: prokerala_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e82f3473c2995a11586b7c9480a883e75b878c9323972dc684f726abe1743ead
|
|
| MD5 |
f3af25f737594c7e4035a5dec960167f
|
|
| BLAKE2b-256 |
6d3546a8adaaaf2fa0729efb418a6f04c1685da4cee989a8955fc13fd82e10c0
|