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()
Metadata
Release files for prokerala-api 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prokerala-api-0.1.0.tar.gz | 4.2 kB | Without provenance | Details for prokerala-api-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prokerala_api-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for prokerala_api-0.1.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / prokerala-api-0.1.0.tar.gz
| Download URL | prokerala-api-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4263623cc2abbf62ed4d17495c490003e604a45a67b0645f3f865d09d2f0ed95
|
|
BLAKE2b-256 checksum How to use checksums |
80fef409f2d7a1a77128d9415446d79b65416ad223f375d315b71e2855b0f5d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / prokerala_api-0.1.0-py3-none-any.whl
| Download URL | prokerala_api-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e82f3473c2995a11586b7c9480a883e75b878c9323972dc684f726abe1743ead
|
|
BLAKE2b-256 checksum How to use checksums |
6d3546a8adaaaf2fa0729efb418a6f04c1685da4cee989a8955fc13fd82e10c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for prokerala-api 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.