Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
vengeance-currency-api
Advanced tools
Welcome to the Currency API, a powerful and easy-to-use RESTful API designed to provide comprehensive currency symbols and codes for various countries around the globe. This API is perfect for developers looking to integrate currency information into their applications.
To get started, clone the repository to your local machine:
git clone https://github.com/preetham-1811/currency-api.git cd currency-api
Next, install the required dependencies using pip:
pip install -r requirements.txt
To run the API, follow these steps:
CurrencyAPI
class from the package.run
method to start the server.from vengeance_currency_api import CurrencyAPI
api = CurrencyAPI()
Once the server is running, you can access the API endpoints.
get_currency_by_country("{country_name}")
{ "symbol": "$", "code": "USD" }
get_countries_by_code({code})
{
"countries": [
"Spain",
"United Kingdom"
]
}
search_currency({country_name} or {code})
[
{"Country": "Austria", "Code": "EUR"},
{"Country": "Belgium", "Code": "EUR"},
...
]
convert_currency({amount}, {from_code}, {to_code})
{
"converted_amount": 168.173004
}
We welcome contributions! If you'd like to contribute to the Currency API, please fork the repository and submit a pull request. Your help in improving this API is greatly appreciated!
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or need support, feel free to open an issue on GitHub or reach out directly.
Feel free to adjust any sections or add more details specific to your project! This structure provides clear guidance and encourages engagement with the API.
FAQs
Library for currencies of countries across the world.
We found that vengeance-currency-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.