Skip to main content

sinAPI

Publish to PyPI on Release pypi python versions

Install

$ pip install sinAPI

RU

класс интерфейс для связи с апи REST,

На данный момент иидеально работает только с ботами семьи Tegtory

EN

class interface to act with REST API's

for now only work with Tegtory bots.

To get know how to create class open _models.py

Examples

Readme Card

Usage

from my_sin_api import SinApi

api = SinApi('YOUR API TOKEN', 'http://API.URL/')

item = api.any('NAME OF NEEDED ITEM', 'ID OF NEEDED ITEM')
print(item.name)
# eq
# requests.get('http://API.URL/NAME OF NEEDED ITEM/ID OF NEEDED ITEM',
#              headers={'Authorization': "YOUR API TOKEN"})

Release files for sinAPI 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sinAPI 0.2.6
File Size Uploaded
sinapi-0.2.6.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sinAPI 0.2.6
File Interpreter ABI Platform
sinAPI-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / sinapi-0.2.6.tar.gz

Download URL sinapi-0.2.6.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4213d9c74e0457b3cda684ec996ab0bb53f447761be91a4ef8f23b31a5031630
BLAKE2b-256 checksum
How to use checksums
e2527741c97dc4fa4f8fea8501856b9feef4197b5bb8e28baa83f276bbf2a6f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.

Transparency log

Release files / sinAPI-0.2.6-py3-none-any.whl

Download URL sinAPI-0.2.6-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b1e941995cd657770ec8f797fa80b46a415c4187cce74b10fc232a5806b8efa
BLAKE2b-256 checksum
How to use checksums
c872b3a9f151cb5493917930575b2fa2a2556a50d7ffdfc2a5b6ac4e1835dd83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page