GithubHelp home page GithubHelp logo

Comments (8)

dhhruv avatar dhhruv commented on August 18, 2024 1

Public API has a caching limit of 30 minutes so you won't get accurate information at real-time hence used protected API. The key shown is used by many projects regarding the same and is authentic.

from vac-cowin.

arunim2405 avatar arunim2405 commented on August 18, 2024

For example BENEFICIARIES_URL = "https://cdn-api.co-vin.in/api/v2/appointment/beneficiaries"

from vac-cowin.

arunim2405 avatar arunim2405 commented on August 18, 2024

I want to integrate this functionality into my app but I don't have a protected key yet. Can you u point me to the file where the key is stored? Thanks!

from vac-cowin.

Nakul93 avatar Nakul93 commented on August 18, 2024

You don’t need a key to access protected API. For that you just need a login token which is generated by OTP authentication

from vac-cowin.

arunim2405 avatar arunim2405 commented on August 18, 2024

Co-WIN Protected APIs allow any third-party application to access certain restricted information, in order to access, the service providers must agree to the extant “Terms of Service”. All third-party applications that wish to integrate with Co-WIN using Protected APIs should undertake a prescribed integration and testing process with the Co-WIN APIs. For this purpose, the authenticated ASP system administrators will be provided with access to a sandbox environment with staging-level API keys to test integration with the Co-WIN APIs, that the ASP wishes to use in their operations. Only after a successful testing cycle is completed and demonstrated to a competent authority, the ASP will be provided with production-level API keys for their Application. You can test these APIs on the Sandbox Server using API Key - 3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi For production access, please register at ASP Registration.
@Nakul93 Now I am just confused🤔

from vac-cowin.

arunim2405 avatar arunim2405 commented on August 18, 2024

@dhhruv any remarks on this? Any help would be appreciated.

from vac-cowin.

Nakul93 avatar Nakul93 commented on August 18, 2024

I think may be with a API key you get privileged access to protected APIs.
As of now even in this repo we use protected API.

from vac-cowin.

dhhruv avatar dhhruv commented on August 18, 2024

@dhhruv any remarks on this? Any help would be appreciated.

Without a secret key, it won't allow you to generate a token (You can try it) which is the basic parameter for protected API's. Hence, if you're not using it then you'd have to go through public API's.

from vac-cowin.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.