hino


Namehino JSON
Version 0.0.487 PyPI version JSON
download
home_pagehttps://github.com/Somespi/Hino/
Summaryunofficial API package for Hino.
upload_time2022-12-31 06:47:30
maintainer
docs_urlNone
authorSomeone
requires_python
licenseMIT
keywords api hino unofficial hino
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hino API Package - HAP
 unofficial API package for [Hino](https://hino.tk).
 
 <hr>
 
 # Docs
 
 ## Installation
 you can install this package by typing
 
 ```py
 $ pip install hino
 ```

There are 4 main methods to fetch the data: 
 
 `getshards()`
 `getclient()`
 `getbasics()`
 `gethandler()`

 simple code:
 ```py
 hino = Hino()
 print(hino.getclient("name"))
 
```
<hr>

## Variables

#### `hino.developers` returns a list of Hino's developers

#### `hino.partners` returns a list of Hino's partners

## Methods

### getbasics()

#### Arguments
info: str

#### returns
data as string data type

#### how to use it
you can get diffrent data by changing the value of `info` , `info` has 7 cases, if diffrent value were put, it will return `TypeError`
the 7 cases are:
- name - url - author
- license - version - website_api_version
- latecy

```py
hino = Hino()
hino.getbasics("license")
```
<hr>

### getshards()

#### Arguments
info: str
shardNum: int

#### returns
data as string data type

#### how to use it
you can get diffrent data for diffrent shards by changing the value of `info` and `shardNum` , `info` has 5 cases, if diffrent value were put, it will return `TypeError`.
the 5 cases are:
- name - version - users
- servers - type
each shard has a diffrent value of `info` to change it, you must change the `shardNum` to the shard number you want to fetch.
tip: if you left the `shardNum` blank and changed the value of `info` to *count* , it will return the shards count.


```py
hino = Hino()
hino.getshards("type",2)
```


```py
hino = Hino()
hino.getshards("count")
```
<hr>

### getclient()

#### Arguments
info: str

#### returns
data as string data type

#### how to use it
you can get diffrent data by changing the value of `info` , `info` has 6 cases, if diffrent value were put, it will return `TypeError`
the 6 cases are:
- name - banner - version
- color - color2 - ping

```py
hino = Hino()
hino.getclient("name")
```
<hr>

### gethandler()

#### Arguments
info: str

#### returns
data as string data type

#### how to use it
you can get diffrent data by changing the value of `info` , `info` has 7 cases, if diffrent value were put, it will return `TypeError`
the 7 cases are:
- name - description - version
- process - websocket - type 
- module

```py
hino = Hino()
hino.gethandler("description")
```
<hr>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Somespi/Hino/",
    "name": "hino",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "API,hino,unofficial,Hino",
    "author": "Someone",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/e8/2e/e51f60a7c1e20f182aa37017acffe27c1c671783ab1e3def9226dba76a23/hino-0.0.487.tar.gz",
    "platform": null,
    "description": "# Hino API Package - HAP\n unofficial API package for [Hino](https://hino.tk).\n \n <hr>\n \n # Docs\n \n ## Installation\n you can install this package by typing\n \n ```py\n $ pip install hino\n ```\n\nThere are 4 main methods to fetch the data: \n \n `getshards()`\n `getclient()`\n `getbasics()`\n `gethandler()`\n\n simple code:\n ```py\n hino = Hino()\n print(hino.getclient(\"name\"))\n \n```\n<hr>\n\n## Variables\n\n#### `hino.developers` returns a list of Hino's developers\n\n#### `hino.partners` returns a list of Hino's partners\n\n## Methods\n\n### getbasics()\n\n#### Arguments\ninfo: str\n\n#### returns\ndata as string data type\n\n#### how to use it\nyou can get diffrent data by changing the value of `info` , `info` has 7 cases, if diffrent value were put, it will return `TypeError`\nthe 7 cases are:\n- name - url - author\n- license - version - website_api_version\n- latecy\n\n```py\nhino = Hino()\nhino.getbasics(\"license\")\n```\n<hr>\n\n### getshards()\n\n#### Arguments\ninfo: str\nshardNum: int\n\n#### returns\ndata as string data type\n\n#### how to use it\nyou can get diffrent data for diffrent shards by changing the value of `info` and `shardNum` , `info` has 5 cases, if diffrent value were put, it will return `TypeError`.\nthe 5 cases are:\n- name - version - users\n- servers - type\neach shard has a diffrent value of `info` to change it, you must change the `shardNum` to the shard number you want to fetch.\ntip: if you left the `shardNum` blank and changed the value of `info` to *count* , it will return the shards count.\n\n\n```py\nhino = Hino()\nhino.getshards(\"type\",2)\n```\n\n\n```py\nhino = Hino()\nhino.getshards(\"count\")\n```\n<hr>\n\n### getclient()\n\n#### Arguments\ninfo: str\n\n#### returns\ndata as string data type\n\n#### how to use it\nyou can get diffrent data by changing the value of `info` , `info` has 6 cases, if diffrent value were put, it will return `TypeError`\nthe 6 cases are:\n- name - banner - version\n- color - color2 - ping\n\n```py\nhino = Hino()\nhino.getclient(\"name\")\n```\n<hr>\n\n### gethandler()\n\n#### Arguments\ninfo: str\n\n#### returns\ndata as string data type\n\n#### how to use it\nyou can get diffrent data by changing the value of `info` , `info` has 7 cases, if diffrent value were put, it will return `TypeError`\nthe 7 cases are:\n- name - description - version\n- process - websocket - type \n- module\n\n```py\nhino = Hino()\nhino.gethandler(\"description\")\n```\n<hr>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "unofficial API package for Hino.",
    "version": "0.0.487",
    "split_keywords": [
        "api",
        "hino",
        "unofficial",
        "hino"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6aba0906662c9e0d48087027f8b21c9c3a09f0bff2b122f9944ae1275a865b18",
                "md5": "bea3f36a2e8a0c79f29a0ab8524afdd7",
                "sha256": "2667d97f9b2835a16e46e0153888ef75ed49ae0e3fac1040129fd272e03e0ec6"
            },
            "downloads": -1,
            "filename": "hino-0.0.487-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bea3f36a2e8a0c79f29a0ab8524afdd7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3572,
            "upload_time": "2022-12-31T06:47:29",
            "upload_time_iso_8601": "2022-12-31T06:47:29.547879Z",
            "url": "https://files.pythonhosted.org/packages/6a/ba/0906662c9e0d48087027f8b21c9c3a09f0bff2b122f9944ae1275a865b18/hino-0.0.487-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e82ee51f60a7c1e20f182aa37017acffe27c1c671783ab1e3def9226dba76a23",
                "md5": "ad07e741468305e5dfea9e0677f841ab",
                "sha256": "0fd9bb505ea8a27d1952e8dfab9fe571a485cb7d900ffc7ab8248a55c1135901"
            },
            "downloads": -1,
            "filename": "hino-0.0.487.tar.gz",
            "has_sig": false,
            "md5_digest": "ad07e741468305e5dfea9e0677f841ab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3356,
            "upload_time": "2022-12-31T06:47:30",
            "upload_time_iso_8601": "2022-12-31T06:47:30.748905Z",
            "url": "https://files.pythonhosted.org/packages/e8/2e/e51f60a7c1e20f182aa37017acffe27c1c671783ab1e3def9226dba76a23/hino-0.0.487.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-31 06:47:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Somespi",
    "github_project": "Hino",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hino"
}
        
Elapsed time: 0.34432s