rhygg / BytesToBitsAPI

BytesToBits's Official API!

Home Page:https://api.bytestobits.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BytesToBits API

This is the official BytesToBits API. You can freely explore the API or host it for yourself as long as our name is mentioned in it and you abide by the Apache License 2.0 terms.

Using the API

You can use the API by visiting api.bytestobits.dev. You must create an account and generate a token in order to be able to make requests on our API.

Python Example

"""
Basic example of how to retrieve a
random text from our API using the
'/text/' endpoint.
"""
import requests

BASE_URL = "https://api.bytestobits.dev/"
settings = {
    "headers": {
        "Authorization": "API_TOKEN"
    }
}
text = requests.get(BASE_URL + "text", **settings).text
print(text)

Wrappers

You are free to create a wrapper for our API. You can later create a PR with it by editing the list below, and if approved, it will be added. We also mention our official API Wrappers in this list.

Official Wrappers

Unofficial Wrappers

About

BytesToBits's Official API!

https://api.bytestobits.dev/

License:Apache License 2.0


Languages

Language:HTML 32.7%Language:Python 28.5%Language:CSS 19.8%Language:Pug 16.8%Language:SCSS 2.3%