# Trulia API on RapidAPI
## Available on [PyPi](https://pypi.org/project/trulia_rapidapi/)
## Read more on [main project page](https://letsscrape.com/scrapers/trulia-real-estate-api/)
## See on [RapidAPI](https://rapidapi.com/letsscrape/api/trulia-real-estate-scraper)
## Install
### using pip
```
pip install trulia_rapidapi
```
### using poetry
```
poetry add trulia_rapidapi
```
### How to get RAPID API key
1. **Register** you account on RapidAPI https://rapidapi.com/auth/sign-up
2. Go to https://rapidapi.com/letsscrape/api/trulia-real-estate-scraper and **Subscribe to test**
3. After subscribing, please revisit https://rapidapi.com/letsscrape/api/trulia-real-estate-scraper to obtain your **X-RapidAPI-Key**.
4. You will find **X-RapidAPI-Key** on the right side in the Code Snippets.
```
from api import TruliaRapidAPI
import asyncio
from schemas.task_status import TaskStatus
api = TruliaAPI('____YOUR_RAPIDAPI_KEY____')
async def main():
r = await api.get_listing_by_url("https://www.trulia.com/AZ/Scottsdale/", 1)
print(r.status)
print(r.data)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
See the `tests.py` file to see how to use it.
Raw data
{
"_id": null,
"home_page": "https://letsscrape.com/scrapers/trulia-real-estate-api/",
"name": "trulia-rapidapi",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "trulia,real estate api,trulia real estate,trulia api,parsing,scraper",
"author": "LetsScrape",
"author_email": "hello@letsscrape.com",
"download_url": "https://files.pythonhosted.org/packages/a5/e2/f1e1f7d47416d4c724e87c02d294631d38f9265e2db6a9a47b442f6ca1bc/trulia_rapidapi-0.1.3.tar.gz",
"platform": null,
"description": "# Trulia API on RapidAPI\r\n\r\n## Available on [PyPi](https://pypi.org/project/trulia_rapidapi/)\r\n## Read more on [main project page](https://letsscrape.com/scrapers/trulia-real-estate-api/)\r\n## See on [RapidAPI](https://rapidapi.com/letsscrape/api/trulia-real-estate-scraper)\r\n\r\n## Install\r\n### using pip\r\n```\r\npip install trulia_rapidapi\r\n```\r\n### using poetry\r\n```\r\npoetry add trulia_rapidapi\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://rapidapi.com/letsscrape/api/trulia-real-estate-scraper and **Subscribe to test**\r\n3. After subscribing, please revisit https://rapidapi.com/letsscrape/api/trulia-real-estate-scraper 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 TruliaRapidAPI\r\n\r\nimport asyncio\r\n\r\nfrom schemas.task_status import TaskStatus\r\n\r\napi = TruliaAPI('____YOUR_RAPIDAPI_KEY____')\r\n\r\nasync def main():\r\n r = await api.get_listing_by_url(\"https://www.trulia.com/AZ/Scottsdale/\", 1)\r\n print(r.status)\r\n print(r.data)\r\n\r\nloop = asyncio.get_event_loop()\r\nloop.run_until_complete(main())\r\n```\r\n\r\nSee the `tests.py` file to see how to use it.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Trulia Real Estate API on RapidAPI",
"version": "0.1.3",
"project_urls": {
"Bug Reports": "https://github.com/letsscrape/python_trulia_rapidapi/issues",
"Documentation": "https://rapidapi.com/letsscrape/api/trulia-real-estate-scraper/",
"Homepage": "https://letsscrape.com/scrapers/trulia-real-estate-api/",
"Source Code": "https://github.com/letsscrape/python_trulia_rapidapi"
},
"split_keywords": [
"trulia",
"real estate api",
"trulia real estate",
"trulia api",
"parsing",
"scraper"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3ae1bb56ee05a026b9868190f8628abcd595c6915b37f63a758ac8622f38cd7b",
"md5": "b83c616f75a1d03d2f67e57b3c9870d3",
"sha256": "36eaac905a0b13f8df8c7e8d33d372c2e631dd1db8891020505d407b3a5b6f3b"
},
"downloads": -1,
"filename": "trulia_rapidapi-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b83c616f75a1d03d2f67e57b3c9870d3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9014,
"upload_time": "2023-06-21T08:43:38",
"upload_time_iso_8601": "2023-06-21T08:43:38.858228Z",
"url": "https://files.pythonhosted.org/packages/3a/e1/bb56ee05a026b9868190f8628abcd595c6915b37f63a758ac8622f38cd7b/trulia_rapidapi-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a5e2f1e1f7d47416d4c724e87c02d294631d38f9265e2db6a9a47b442f6ca1bc",
"md5": "87f5b75b478aefe58c0f60acceec248c",
"sha256": "f00e6c83742c5196a2f1aaa95fa4af6577dace9889399efb736bab22313a7e57"
},
"downloads": -1,
"filename": "trulia_rapidapi-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "87f5b75b478aefe58c0f60acceec248c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7363,
"upload_time": "2023-06-21T08:43:40",
"upload_time_iso_8601": "2023-06-21T08:43:40.969045Z",
"url": "https://files.pythonhosted.org/packages/a5/e2/f1e1f7d47416d4c724e87c02d294631d38f9265e2db6a9a47b442f6ca1bc/trulia_rapidapi-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-21 08:43:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "letsscrape",
"github_project": "python_trulia_rapidapi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "trulia-rapidapi"
}