Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electrickiwi-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrickiwi-api

  • 0.8.5
  • PyPI
  • Socket score

Maintainers
1

Electric Kiwi Python API

SemVer 0.8.5 PyPI Releases Supported Python Versions

What it does

Provide a simple API interface to the Electric Kiwi API and includes all endpoints available on the juice hacker site

What it does not

session management / token management, there are enough libraries and frameworks that already do this very well, no point reinventing the wheel

Authentication has been left to you.

If you are planning on joining Electric Kiwi use my link to score a $50 credit sign up link

Authentication

To make any requests to the token url you are required to have basic auth using the client id and secret same as the python api example.

How to use it

implement AbstractAuth (see test_instance.py in tests)

once implemented you can pass it to ElectricKiwiApi e.g

api = ElectricKiwiApi(ApiAuthImpl(session))
await api.get_active_session()
await api.set_active_session()

You will need to call api.set_active_session() to set the customer number and connection id for you to run additional API calls as it sets them on the class so your not passing them continuously.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc