Why do some API providers require an API key?

后端 未结 7 1022
谎友^
谎友^ 2021-02-03 11:43

Several web service APIs have you sign up for an API key. For example, UPS Web services requires a key, which is included in calls to their service -- In addition to the use

7条回答
  •  盖世英雄少女心
    2021-02-03 11:53

    I think Gracenote does a similar thing for cddb. I forget the details, but I remember something about some token.

    (They have/had really draconian rules about using their service too.)

    Simon reminded me what the gracenote thing was. Gracenote and Fedex and other webservices have lots of developers writing apps for the software. So the developers get a token to put into their apps, but the end users have their own user name and password. It lets the services keep an eye on abusing programs, etc. That is probably te primary reason. (like a browser or a webbot informing the webserver who/what it is)

提交回复
热议问题