Namebase Marketplace Api for Python
Python 3.6+ client for interacting with Namebase Marketplace API.
Usage
Instantiating the Marketplace object can be done either by using email and password or None. Only post requests can be made authenticated.
Websocket API is not provided.
Installation
Requirements
- Python 3.6 or greater
Install
pip install namebase-marketplace
Upgrade
pip install --upgrade namebase-marketplace
Usage
Core REST API for Namebase MARKETPLACE
from namebase_marketplace.marketplace import *
marketplace = Marketplace(email="YOUR EMAIL", pwd="YOUR PASSWORD")
marketplace.get_user_info()
marketplace.open_bid(domain='domain', bid_amount=0.4, blind_amount=100)
EXAMPLE WITHOUT AUTHENTICATION:
from namebase_marketplace.marketplace import *
marketplace = Marketplace()
marketplace.get_marketplace_domains(offset=100) # Get 101-200 latest marketplace domains with default options
On some endpoints you can pass options, please refer them to the following documentation: https://github.com/namebasehq/api-documentation/blob/master/marketplace-api.md
Github OAuth bypass and 2FA Auth Bypass
Recent upgrades
New auth method has been added, now you can auth yourself by using the namebase_cookie in case you cant (or dont want to) login via email-password.
This is the cookie Namebase uses to auth you within the app. You can find this cookie when reloading any page and going to Network on Inspection Mode. Head to a request and find this cookie under "Cookies" tab on any explorer along with other kind of cookies. Cookie name is called "namebase-main".
Example
from namebase_marketplace.marketplace import *
marketplace = Marketplace(namebase_cookie="<My_namebase_cookie>")
marketplace.get_user_info()
marketplace.open_bid(domain='domain', bid_amount=0.4, blind_amount=100)
Donations
I have made this library open-sourced and free to use. However, if you consider this library has helped you, or you just want to sponsor me, donations are welcomed to one of my HANDSHAKE addresses.
hs1qynh72cuj7lawdcmvjtls4kk0p4auzmj5qq6v3r
Metadata
Release files for namebase-marketplace 0.2.95
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| namebase-marketplace-0.2.95.tar.gz | 7.5 kB | Details |
Release files / namebase-marketplace-0.2.95.tar.gz
| Download URL | namebase-marketplace-0.2.95.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92521a4834e2454e750ffd2edbc967ac7abe85e86d8984ede06c444b60f28e4a
|
|
BLAKE2b-256 checksum How to use checksums |
a14af91dd0d9f60815d53b1a0d503aaf14909baf3472be6e3d311f26cd2f55c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|