### Install freecurrencyapi Python Client via pip Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Installs the freecurrencyapi Python client library from the Python Package Index (PyPI) using the pip package manager. ```sh pip install freecurrencyapi ``` -------------------------------- ### Install freecurrencyapi Python Client from Git Repository Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Installs the freecurrencyapi Python client library directly from its GitHub repository using pip, useful for development or specific versions. ```sh pip install git+https://github.com/everapihq/freecurrencyapi-python.git ``` -------------------------------- ### Initialize freecurrencyapi Python Client Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Imports the freecurrencyapi library and initializes the Client class with your API access key. This client instance is used for all subsequent API requests. ```python import freecurrencyapi client = freecurrencyapi.Client('API_KEY') ``` -------------------------------- ### Retrieve freecurrencyapi API Status (Python) Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Calls the status() method on the initialized client to check the current status of the freecurrencyapi service. Prints the result. ```python print(client.status()) ``` -------------------------------- ### Retrieve Latest Exchange Rates (Python) Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Calls the latest() method to fetch the most recent exchange rates. Prints the result. ```python result = client.latest() print(result) ``` -------------------------------- ### Retrieve Specific Currencies (Python) Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Calls the currencies() method to fetch data for a list of specified currency codes (e.g., EUR, CAD). Prints the result. ```python result = client.currencies(currencies=['EUR', 'CAD']) print(result) ``` -------------------------------- ### Retrieve Historical Exchange Rates (Python) Source: https://github.com/everapihq/freecurrencyapi-python/blob/master/README.md Calls the historical() method with a specific date string to fetch exchange rates for that date. Prints the result. ```python result = client.historical('2022-02-02') print(result) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.