LearningTech

Security

API Key

Description

A code passed in by computer programs calling an application programming interface (API) to identify the calling program, its developer, or its user.

Where to use

  • Public APIs.

Real World Example

Google Maps API keys.

Code Example

class APIKey:
    def __init__(self):
        pass

    def execute(self):
        print('Executing API Key')