Usecase
A collection of use cases for this plugin. If you have a one, please share it with us.
Check BITCOIN (or any crypto) price
```req
url: https://api.coincap.io/v2/rates/bitcoin
show: $.data.rateUsd
```
64992.8972508856324769
Get the weather
```req
url: https://api.openweathermap.org/data/2.5/weather?q=<CITY>&appid=YOUR_API_KEY
show: $.main.temp
```
Search movies
```req
url: https://api.themoviedb.org/3/search/movie?query={{this.title}}&api_key=YOUR_API_KEY
show: $.results[0:].title
```
Note the use of {{this.title}}
. This is a feature that allows you to pass front-matter properties.
Render data
```req
url: https://mapi.mobilelegends.com/hero/detail?id=1
show: $.data[cover_picture,name,type]
format:  <br> <strong>Name:</strong> {} <br> <strong>Type:</strong> {}
```
Get TODOS from todoist
```req
url: https://api.todoist.com/rest/v2/tasks
headers: {"Authorization": "Bearer YOUR_TOKEN"}
show: $..content
format: - [ ] {}
req-id: todos
```
This will save the response in localStorage under the key req-todos
Your use case
If you want to share your use case, please feel free to open a PR or a Issue.