Skip to main content

A package for accessing Singapore bullion retailers API

Project description

Singapore Bullion Retailers API

Programmatic functions for accessing Singapore bullion retailers API

BullionStar Singapore https://www.bullionstar.com/developer/docs/api/

# import the module
from bullion import BullionStar

BullionStar Object

# Creates a http session
bullionstar_client = BullionStar(cuurency='SGD', locationId=1)

Authentication API

  • Initialize Authentication
authToken, salt = bullionstar_client.initialize('example@example.com')
  • Perform Authentication
data_authenticate = bullionstar_client.authenticate(authToken, BullionStar.encryptPassword(salt, BullionStar.hashPassword(password)))
  • Perform Two-factor Authentication
  • Resend Two-factor Authentication Code
  • Invalidate Access Token
data_invalidate = bullionstar_client.invalidate()

Shopping Cart API

  • Refresh Shopping Cart
  • Add to Shopping Cart
  • Update Shopping Cart (Unstable)
  • Remove from Shopping Cart (Unstable)
  • Load All Shopping Carts

Buy Checkout API (in-development)

  • Initialize Order
  • Update Order
  • Confirm Order
  • Confirm Order and Create Account

Silver Bullion Singapore Stargrams (Development on hold)

  • Login function

Silver Bullion Singapore (Development on hold)

  • Login function (TODO)

Roadmap

  • Retailers onboarding
  • To release as a python package on PyPi
  • Looking for passionate maintainers

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

singapore_bullion_retailers-0.0.5.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

singapore_bullion_retailers-0.0.5-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file singapore_bullion_retailers-0.0.5.tar.gz.

File metadata

File hashes

Hashes for singapore_bullion_retailers-0.0.5.tar.gz
Algorithm Hash digest
SHA256 994e0063c556efe946dbe996a6c4da2ba8baaf961722a2cb5fa4ab1fe9fa1ce5
MD5 daca844480abad153ff4cdd4d1695eeb
BLAKE2b-256 41be2c6919733cd3511658fc6b705614c43c6d0e2837355e1a916b30f3c2ee1d

See more details on using hashes here.

File details

Details for the file singapore_bullion_retailers-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for singapore_bullion_retailers-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e531793631dd9091990b9e1f799dc7f19d0233a281bde8650fcc9a2793c0f348
MD5 9b87755e5fec86a9b885773d0311823d
BLAKE2b-256 4a6a2179cd01b3087b3e6a7862824db1fc175d4b5c3afb82f59e375a01beeae4

See more details on using hashes here.

Supported by

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