similarweb-rapidapi


Namesimilarweb-rapidapi JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://letsscrape.com/scrapers/similarweb-api/
SummarySimilarWeb API on RapidAPI
upload_time2023-06-17 09:47:03
maintainer
docs_urlNone
authorLetsScrape
requires_python
license
keywords rapidapi similarweb similarweb api scraping parsing scraper
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SimilarWeb API on RapidAPI

## Available on [PyPi](https://pypi.org/project/similarweb_rapidapi/)
## Read more on [main project page](https://letsscrape.com/scrapers/similarweb-api/)
## See on [RapidAPI](https://rapidapi.com/letsscrape/api/similarweb-working-api)

## Install
### using pip
```
pip install similarweb_rapidapi
```
### using poetry
```
poetry add similarweb_rapidapi
```

## Build
### Windows
```
git clone https://github.com/letsscrape/python_similarweb_rapidapi.git

cd similarweb_rapidapi
py -m venv venv
cd venv/Scripts/ && activate && cd ../../
pip install -r requirements.txt
py setup.py sdist bdist_wheel install
```
### Linux
```
git clone https://github.com/letsscrape/python_similarweb_rapidapi.git

cd similarweb_rapidapi
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 setup.py sdist bdist_wheel install
```

### How to get RAPID API key
1. **Register** you account on RapidAPI https://rapidapi.com/auth/sign-up
2. Go to https://bit.ly/3z3DInS and **Subscribe to test**
3. After subscribing, please revisit https://bit.ly/3z3DInS to obtain your **X-RapidAPI-Key**.
4. You will find **X-RapidAPI-Key** on the right side in the Code Snippets.

```
from api import SimilarWebRapidAPI

import asyncio

from schemas.task_status import TaskStatus

api = SimilarWebRapidAPI('____YOUR_RAPIDAPI_KEY____')

async def main():
    r = await api.get_basic_data_from_domain("google.com")
    print(r.status)
    print(r.data.site_name)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
See the `tests/tests.py` file to see how to use it.

            

Raw data

            {
    "_id": null,
    "home_page": "https://letsscrape.com/scrapers/similarweb-api/",
    "name": "similarweb-rapidapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "rapidapi,similarweb,similarweb api,scraping,parsing,scraper",
    "author": "LetsScrape",
    "author_email": "hello@letsscrape.com",
    "download_url": "https://files.pythonhosted.org/packages/5f/38/b5301212d4dc4d915a12b26d8424097a865ed32457ae9df9a7c41392e21c/similarweb_rapidapi-0.1.4.tar.gz",
    "platform": null,
    "description": "# SimilarWeb API on RapidAPI\r\n\r\n## Available on [PyPi](https://pypi.org/project/similarweb_rapidapi/)\r\n## Read more on [main project page](https://letsscrape.com/scrapers/similarweb-api/)\r\n## See on [RapidAPI](https://rapidapi.com/letsscrape/api/similarweb-working-api)\r\n\r\n## Install\r\n### using pip\r\n```\r\npip install similarweb_rapidapi\r\n```\r\n### using poetry\r\n```\r\npoetry add similarweb_rapidapi\r\n```\r\n\r\n## Build\r\n### Windows\r\n```\r\ngit clone https://github.com/letsscrape/python_similarweb_rapidapi.git\r\n\r\ncd similarweb_rapidapi\r\npy -m venv venv\r\ncd venv/Scripts/ && activate && cd ../../\r\npip install -r requirements.txt\r\npy setup.py sdist bdist_wheel install\r\n```\r\n### Linux\r\n```\r\ngit clone https://github.com/letsscrape/python_similarweb_rapidapi.git\r\n\r\ncd similarweb_rapidapi\r\npython3 -m venv venv\r\nsource venv/bin/activate\r\npip install -r requirements.txt\r\npython3 setup.py sdist bdist_wheel install\r\n```\r\n\r\n### How to get RAPID API key\r\n1. **Register** you account on RapidAPI https://rapidapi.com/auth/sign-up\r\n2. Go to https://bit.ly/3z3DInS and **Subscribe to test**\r\n3. After subscribing, please revisit https://bit.ly/3z3DInS to obtain your **X-RapidAPI-Key**.\r\n4. You will find **X-RapidAPI-Key** on the right side in the Code Snippets.\r\n\r\n```\r\nfrom api import SimilarWebRapidAPI\r\n\r\nimport asyncio\r\n\r\nfrom schemas.task_status import TaskStatus\r\n\r\napi = SimilarWebRapidAPI('____YOUR_RAPIDAPI_KEY____')\r\n\r\nasync def main():\r\n    r = await api.get_basic_data_from_domain(\"google.com\")\r\n    print(r.status)\r\n    print(r.data.site_name)\r\n\r\nloop = asyncio.get_event_loop()\r\nloop.run_until_complete(main())\r\n```\r\nSee the `tests/tests.py` file to see how to use it.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "SimilarWeb API on RapidAPI",
    "version": "0.1.4",
    "project_urls": {
        "Bug Reports": "https://github.com/letsscrape/python_similarweb_rapidapi/issues",
        "Documentation": "https://rapidapi.com/letsscrape/api/similarweb-working-api",
        "Homepage": "https://letsscrape.com/scrapers/similarweb-api/",
        "Source Code": "https://github.com/letsscrape/python_similarweb_rapidapi"
    },
    "split_keywords": [
        "rapidapi",
        "similarweb",
        "similarweb api",
        "scraping",
        "parsing",
        "scraper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d39d53ef046c0b73e28a7833b91456f053e31ba5e2759cedbda8232d5416bbc6",
                "md5": "21203e940f2c6c1f0684de5ff088a04c",
                "sha256": "84326c6c9ee8d734d8a213c54d8d42e6d69e5513631fc942589ea2d17894f8ed"
            },
            "downloads": -1,
            "filename": "similarweb_rapidapi-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "21203e940f2c6c1f0684de5ff088a04c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10271,
            "upload_time": "2023-06-17T09:47:02",
            "upload_time_iso_8601": "2023-06-17T09:47:02.235134Z",
            "url": "https://files.pythonhosted.org/packages/d3/9d/53ef046c0b73e28a7833b91456f053e31ba5e2759cedbda8232d5416bbc6/similarweb_rapidapi-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f38b5301212d4dc4d915a12b26d8424097a865ed32457ae9df9a7c41392e21c",
                "md5": "1616ad0f1b7d2e388a970e9c39277e7d",
                "sha256": "b6e6c3146bd7a2ed763e97d3755c9511970654790ed8d89334f716fd39ede24f"
            },
            "downloads": -1,
            "filename": "similarweb_rapidapi-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "1616ad0f1b7d2e388a970e9c39277e7d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8216,
            "upload_time": "2023-06-17T09:47:03",
            "upload_time_iso_8601": "2023-06-17T09:47:03.699631Z",
            "url": "https://files.pythonhosted.org/packages/5f/38/b5301212d4dc4d915a12b26d8424097a865ed32457ae9df9a7c41392e21c/similarweb_rapidapi-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-17 09:47:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "letsscrape",
    "github_project": "python_similarweb_rapidapi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "similarweb-rapidapi"
}
        
Elapsed time: 0.09103s