-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2c902f
commit cab3690
Showing
3 changed files
with
95 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,57 @@ | ||
|
||
# Gas TUR Prices in Spain API | ||
|
||
## Overview | ||
Welcome to the Gas TUR Prices API for Spain! This project aims to provide easy access to Gas TUR (Tarifa de Último Recurso) prices in Spain in a convenient and parseable format. By making this data accessible, we hope to empower developers, businesses, and individuals to utilize gas price information for various applications. | ||
|
||
# Features | ||
* Real-time Data: The API returns real-time Gas TUR prices, ensuring that you always have the latest information. | ||
* Easy to Integrate: The API is designed to be straightforward to integrate into your projects, whether you're building a mobile app, a website, or any other application. | ||
* Simple Data Format: Gas prices are returned in a clear and easy-to-parse JSON format, making it hassle-free to incorporate into your code. | ||
Welcome to the TUR Prices for Spain! This project aims to provide easy access to Gas TUR (Tarifa de Último Recurso) prices in Spain in a convenient and parseable format. By making this data accessible, we hope to empower developers, businesses, and individuals to utilize gas price information for various applications. | ||
|
||
# Usage | ||
To get started, simply make a GET request to the following endpoint: | ||
## Features | ||
|
||
- **Real-time Data:** The API returns real-time Gas TUR prices, ensuring that you always have the latest information. | ||
|
||
- **Easy to Integrate:** The API is designed to be straightforward to integrate into your projects, whether you're building a mobile app, a website, or any other application. | ||
|
||
- **Simple Data Format:** Gas prices are returned in a clear and easy-to-parse JSON format, making it hassle-free to incorporate into your code. | ||
|
||
## Usage | ||
|
||
To get started, simply make a GET request to the following endpoint: | ||
|
||
``` | ||
TODO | ||
https://TODO/latest | ||
``` | ||
|
||
### Example Response: | ||
|
||
```json | ||
[ | ||
{ | ||
"tariff": "TUR1", | ||
"date": "2023-10-01", | ||
"variable_price": "0.0511", | ||
"fixed_price": "3.85", | ||
"currency": "EUR" | ||
}, | ||
{ | ||
"tariff": "TUR2", | ||
"date": "2023-10-01", | ||
"variable_price": "0.0481", | ||
"fixed_price": "7.12", | ||
"currency": "EUR" | ||
}, | ||
{ | ||
"tariff": "TUR3", | ||
"date": "2023-10-01", | ||
"variable_price": "0.0454", | ||
"fixed_price": "14.92", | ||
"currency": "EUR" | ||
} | ||
] | ||
``` | ||
|
||
|
||
## Contribution | ||
|
||
We welcome contributions from the community! If you find a bug, have an idea for a new feature, or want to improve the documentation, feel free to open an issue or submit a pull request. | ||
|
||
|
||
Happy coding! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"tariff": "TUR1", | ||
"date": "2023-10-01", | ||
"variable_price": "0.0511", | ||
"fixed_price": "3.85", | ||
"currency": "EUR" | ||
}, | ||
{ | ||
"tariff": "TUR2", | ||
"date": "2023-10-01", | ||
"variable_price": "0.0481", | ||
"fixed_price": "7.12", | ||
"currency": "EUR" | ||
}, | ||
{ | ||
"tariff": "TUR3", | ||
"date": "2023-10-01", | ||
"variable_price": "0.0454", | ||
"fixed_price": "14.92", | ||
"currency": "EUR" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters