Skip to main content

Streams Api

Project description

moralis-streams-api-client

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

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

moralis-streams-api-1.0.2.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

moralis_streams_api-1.0.2-py2.py3-none-any.whl (105.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file moralis-streams-api-1.0.2.tar.gz.

File metadata

  • Download URL: moralis-streams-api-1.0.2.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for moralis-streams-api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9a21c5b73cd91c2399eeb02701c3fdc75797c89fdc2817b7cafe86836d6943f9
MD5 c24ed9ea57d3db9770b0f6f72e4c6c04
BLAKE2b-256 9e507bbfdf985c6b3e6ad6dab4cc556adc22c81bca72ef6dd0a8d436b3e7fe6d

See more details on using hashes here.

Provenance

File details

Details for the file moralis_streams_api-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for moralis_streams_api-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70ff1a494073ad853ee7675f26703b7211df192c9b6762007007c0f03254e7f4
MD5 b1077eaf34b80f9e9752aedc7288fb46
BLAKE2b-256 8b0c827c52caca9e477bc7f0efed4fabc754d29bd8e5efa716c8ed4724f1e702

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page