Streams Api
Project description
moralis-streams-api
API that provides access to Moralis Streams
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import moralis_streams_api
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import moralis_streams_api
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import moralis_streams_api
from moralis_streams_api.rest import ApiException
from pprint import pprint
# Configure API key authorization: x-api-key
configuration = moralis_streams_api.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'
# create an instance of the API class
api_instance = moralis_streams_api.BetaApi(moralis_streams_api.ApiClient(configuration))
try:
api_response = api_instance.get_stats()
pprint(api_response)
except ApiException as e:
print("Exception when calling BetaApi->get_stats: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to /
Class | Method | HTTP request | Description |
---|---|---|---|
BetaApi | get_stats | GET /beta/stats | |
EVMStreamsApi | add_address_to_stream | POST /streams/evm/{id}/address | |
EVMStreamsApi | create_stream | PUT /streams/evm | |
EVMStreamsApi | delete_address_from_stream | DELETE /streams/evm/{id}/address | |
EVMStreamsApi | delete_stream | DELETE /streams/evm/{id} | |
EVMStreamsApi | get_addresses | GET /streams/evm/{id}/address | |
EVMStreamsApi | get_stream | GET /streams/evm/{id} | |
EVMStreamsApi | get_streams | GET /streams/evm | |
EVMStreamsApi | update_stream | POST /streams/evm/{id} | |
EVMStreamsApi | update_stream_status | POST /streams/evm/{id}/status | |
HistoryApi | get_history | GET /history | |
HistoryApi | replay_history | POST /history/replay/{id} | |
ProjectApi | get_settings | GET /settings | |
ProjectApi | set_settings | POST /settings |
Documentation For Models
- AbiInput
- AbiItem
- AbiOutput
- Addresses
- AddressesTypesAddressResponse
- AddressesTypesAddressesAdd
- AddressesTypesAddressesRemove
- AddressesTypesAddressesResponse
- AddressesTypesDeleteAddressResponse
- AdvancedOptions
- AnyOfaddressesTypesAddressResponseAddress
- AnyOfaddressesTypesAddressesAddAddress
- Block
- HistoryModel
- HistoryTypesHistoryModel
- HistoryTypesHistoryResponse
- IAbi
- IERC20Approval
- IERC20Transfer
- INFTApproval
- INFTApprovalERC1155
- INFTApprovalERC721
- INFTTransfer
- InternalTransaction
- Log
- PartialStreamsTypesStreamsModelCreate_
- SettingsRegion
- SettingsTypesSettingsModel
- StatsTypesStatsModel
- StreamsFilter
- StreamsModel
- StreamsStatus
- StreamsTypesStreamsModel
- StreamsTypesStreamsModelCreate
- StreamsTypesStreamsResponse
- StreamsTypesStreamsStatusUpdate
- Transaction
- UUID
- WebhookTypesIWebhook
Documentation For Authorization
x-api-key
- Type: API key
- API key parameter name: x-api-key
- Location: HTTP header
Author
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
Built Distribution
File details
Details for the file moralis-streams-api-1.0.13.tar.gz
.
File metadata
- Download URL: moralis-streams-api-1.0.13.tar.gz
- Upload date:
- Size: 56.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22e5dfa1ba3fdc49c4116310423a6fa4bd9b020d4317b6a0d19339b5dc729d18 |
|
MD5 | 1a40466ebc8132598d2f1c9fb7ded72f |
|
BLAKE2b-256 | 1d3749f527396c1011d49415c67be2e35c51df85f27e250a81bdcd89df3210b1 |
Provenance
File details
Details for the file moralis_streams_api-1.0.13-py2.py3-none-any.whl
.
File metadata
- Download URL: moralis_streams_api-1.0.13-py2.py3-none-any.whl
- Upload date:
- Size: 89.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20668f1eb405591dbeb6e7cf32a8cd7fc7f37af34ffe2b40d98b63557ae00bf |
|
MD5 | cc1aca70dae4730bae8bf12c2042dd3c |
|
BLAKE2b-256 | ce2b02a52204f1d4faec1c55ecb1fea73a1c407226eb2df8ebd2869ebca8aa73 |