mirror of
https://github.com/rooyca/obsidian-api-request.git
synced 2026-07-22 07:50:27 +00:00
Merge pull request #80 from donbagger/docs/replace-dead-coincap-example
docs: replace dead api.coincap.io example in usecase pages
This commit is contained in:
commit
6b34f4248a
3 changed files with 9 additions and 9 deletions
|
|
@ -32,12 +32,12 @@ Rendered output will look like this:
|
|||
|
||||
~~~makdown
|
||||
```req
|
||||
url: https://api.coincap.io/v2/rates/bitcoin
|
||||
show: $.data.rateUsd
|
||||
url: https://api.coinpaprika.com/v1/tickers/btc-bitcoin
|
||||
show: $.quotes.USD.price
|
||||
```
|
||||
~~~
|
||||
|
||||
> 64992.8972508856324769
|
||||
> 64149.230100840585
|
||||
|
||||
## Get the weather
|
||||
|
||||
|
|
|
|||
|
|
@ -32,12 +32,12 @@ La salida renderizada se verá así:
|
|||
|
||||
~~~makdown
|
||||
```req
|
||||
url: https://api.coincap.io/v2/rates/bitcoin
|
||||
show: $.data.rateUsd
|
||||
url: https://api.coinpaprika.com/v1/tickers/btc-bitcoin
|
||||
show: $.quotes.USD.price
|
||||
```
|
||||
~~~
|
||||
|
||||
> 64992.8972508856324769
|
||||
> 64149.230100840585
|
||||
|
||||
## Obtener el clima
|
||||
|
||||
|
|
|
|||
|
|
@ -32,12 +32,12 @@ ID 是 `$=dv.el("span", JSON.parse(localStorage.getItem("req-test")).id, { cls:
|
|||
|
||||
~~~makdown
|
||||
```req
|
||||
url: https://api.coincap.io/v2/rates/bitcoin
|
||||
show: $.data.rateUsd
|
||||
url: https://api.coinpaprika.com/v1/tickers/btc-bitcoin
|
||||
show: $.quotes.USD.price
|
||||
```
|
||||
~~~
|
||||
|
||||
> 64992.8972508856324769
|
||||
> 64149.230100840585
|
||||
|
||||
## 获取天气信息
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue