Trendoscope

Revisiting Automatic Access Management API for Vendors

Education
BINANCE:BTCUSDT   Bitcoin / TetherUS
This video explains how to automate access management for vendors who build and sell invite only scripts based on subscription or one time fee. I have made videos about this earlier as well. But, due to high demand, I have been asked to make this video again.

🎲 Tools Required
  1. Replit - Used for hosting the service that automates access management
  2. Postman - To test the services hosted

🎲 Prerequisites
  1. User should have premium tradingview account and be able to publish invite only scripts by following the house rules.
  2. User should disable 2FA on their account in order to allow programs to login remotely and manage access.

🎲 Steps
All the steps are also mentioned in the githup repository: github.com/trendosco...ew-Access-Management

🎯 Run the access management service

  1. Fork the replit repository: replit.com/@trendosc...ew-Access-Management
  2. Update Environment Variables tvusername and tvpassword
  3. Run the repl

🎯 Use postman to test the service methods
Detailed explanation of the API calls are present in the github link provided above. The service is capable of doing following things.
  1. Check if the given tradingview username is valid or not
  2. Get the access details of given user to list of scripts identified by pub id.
  3. Delete the access to given user to list of scripts identified by pub id.
  4. Provide/Extend access to given user to list of scripts identified by pub id for specific duration.

🎲 Notes
  1. Please follow house rules while publishing and selling subscriptions to invite only scripts.
  2. Do not commercialize these API calls or do not turn it into product. The mechanism is built on backend calls that are not officially supported by tradingview. While tradingview is tolerant on individual use, any malicious activity may force them to shut this down for everyone.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.