No project description provided
Project description
alchemy_sdk_py
An SDK to use the Alchemy API
Getting Started
Requirements
- Python 3.7 or higher
- You'll know you've done it right if you can run
python3 --version
in your terminal and see something likePython 3.10.6
- You'll know you've done it right if you can run
Installation
pip3 install alchemy_sdk_py
Quickstart
Get an API Key
After installing, you'll need to sign up for an API key and set it as an ALCHEMY_API_KEY
environment variable.
If you're unfamiliar with environment variables, you can use the API to set the key directly using the SDK - please don't do this in production code.
import alchemy_sdk_py
alchemy_sdk_py.set_api_key("YOUR_API_KEY")
This will make the key availible for the duration of your script.
Useage
import alchemy_sdk_py as alchemy
current_block = alchemy.get_current_block()
print(current_block)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alchemy_sdk_py-0.0.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for alchemy_sdk_py-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6acfdc30100c8d70b849009cc17358a28533dd0aaa43a81df651fad108b9fec1 |
|
MD5 | 17bd540dbb9911128dc7a087d846b746 |
|
BLAKE2b-256 | e1ec4e519b67a425f0a083c245381c83285fbf5216f88825aab8b5e25dca514a |