Getting started
To use the python SDK you will (of course) have to install it :)
pip install spider-client
Here is the link to the package on PyPi.
Setting & Getting Api Key
To use the SDK you will need an API key. You can get one by signing up on spider.cloud.
Then you need to set the API key in your environment variables.
export SPIDER_API_KEY=your_api_key
if you don't want to set the API key in your environment variables you can pass it as an argument to the Spider
class.
from spider import Spider
app = Spider(api_key='your_api_key')
We recommend setting the API key in your environment variables.