Library untuk menggunakan API Samarinda.
Project description
API Samarinda (Py)
Library untuk menggunakan API Samarinda menggunakan Bahasa Python.
Instalasi
pip install apisamarinda
Contoh Penggunaan
from apisamarinda import api
# File api_auth.json bisa diunduh melalui halaman API Anda
request = api.ApiClient("./api_auth.json")
# Gunakan Endpoint yang Anda ingin tampilkan
result = request.result('API_URL')
# Tampilkan dalam bentuk JSON
result.json()
TODO
Ini masih tahap uji coba karena bertepatan dengan tugas kuliah yang maksain pake Python.
- Saat ini hanya mendukung GET
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
apisamarinda-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file apisamarinda-0.1.0.tar.gz
.
File metadata
- Download URL: apisamarinda-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19263837a986fd4185c39021677ff78d7e1f19f6e9bc43c206aa289491029a0d |
|
MD5 | d2d315ec112a4fc9c8c339aaa32c8fae |
|
BLAKE2b-256 | 0b9190ac7622fb9f6e6d121137bcbe79eabccc5afc8ac7a1973b6471d251f1ce |
File details
Details for the file apisamarinda-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: apisamarinda-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1902c1d118f82807b496db73c87487efe18d5b762fc5df5bda52b49c81b9b2d2 |
|
MD5 | 0d925011856d4b3002d47a96cac8d3ed |
|
BLAKE2b-256 | 8abe01fafdd6db67f79f7da77dd4f450b49d6f488b1473e4c24e635462cc0932 |