Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some workflow templates #3521

Merged
merged 17 commits into from
Jan 12, 2022
Prev Previous commit
Next Next commit
Add 3 token-spray templates
  • Loading branch information
daffainfo committed Jan 4, 2022
commit 04ce660a6307fe7a293dd1be95593e6eeac3dd6d
4 changes: 3 additions & 1 deletion token-spray/api-alchemy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ info:
name: Alchemy API Test
author: daffainfo
severity: info
reference: https://docs.alchemy.com/alchemy/
reference:
- https://docs.alchemy.com/alchemy/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Alchemy.md
tags: token-spray,alchemy

self-contained: true
Expand Down
4 changes: 3 additions & 1 deletion token-spray/api-binance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ info:
name: Binance REST API
author: geeknik
severity: info
reference: https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md
reference:
- https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Binance.md
tags: token-spray,binance

self-contained: true
Expand Down
4 changes: 3 additions & 1 deletion token-spray/api-bitcoinaverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ info:
name: BitcoinAverage API Test
author: daffainfo
severity: info
reference: https://apiv2.bitcoinaverage.com/
reference:
- https://apiv2.bitcoinaverage.com/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/BitcoinAverage.md
tags: token-spray,bitcoinaverage

self-contained: true
Expand Down
4 changes: 3 additions & 1 deletion token-spray/api-block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ info:
name: block.io API Test
author: daffainfo
severity: info
reference: https://block.io/docs/basic
reference:
- https://block.io/docs/basic
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Block.md
tags: token-spray,block

self-contained: true
Expand Down
4 changes: 3 additions & 1 deletion token-spray/api-blockchain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ info:
name: Blockhain API Test
author: daffainfo
severity: info
reference: https://api.blockchain.com/v3/#/
reference:
- https://api.blockchain.com/v3/#/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Blockchain.md
tags: token-spray,blockchain

self-contained: true
Expand Down
26 changes: 26 additions & 0 deletions token-spray/api-blockfrost.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id: api-blockfrost

info:
name: Blockfrost API Test
author: daffainfo
severity: info
reference:
- https://docs.blockfrost.io/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Blockfrost.md
tags: token-spray,blockfrost

self-contained: true
requests:
- raw:
- |
GET /api/v0/ HTTP/1.1
Host: cardano-mainnet.blockfrost.io
project_id: {{token}}

matchers:
- type: word
part: body
words:
- '"url":'
- '"version":'
condition: and
29 changes: 29 additions & 0 deletions token-spray/api-bravenewcoin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
id: api-bravenewcoin

info:
name: Brave New Coin API Test
author: daffainfo
severity: info
reference:
- https://bravenewcoin.com/developers
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Brave%20New%20Coin.md
tags: token-spray,bravenewcoin

self-contained: true
requests:
- raw:
- |
GET /market HTTP/1.1
X-Rapidapi-Host: bravenewcoin.p.rapidapi.com
X-Rapidapi-Key: {{token}}
Host: bravenewcoin.p.rapidapi.com

matchers:
- type: word
part: body
words:
- '"content":'
- '"id":'
- '"baseAssetId":'
- '"quoteAssetId":'
condition: and
27 changes: 27 additions & 0 deletions token-spray/api-coinapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
id: api-coinapi

info:
name: CoinAPI API Test
author: daffainfo
severity: info
reference:
- https://docs.coinapi.io/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/CoinAPI.md
tags: token-spray,coinapi

self-contained: true
requests:
- raw:
- |
GET /v1/exchanges HTTP/1.1
Host: rest.coinapi.io
X-CoinAPI-Key: {{token}}

matchers:
- type: word
part: body
words:
- '"exchange_id":'
- '"website":'
- '"name":'
condition: and
4 changes: 3 additions & 1 deletion token-spray/api-coinlayer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ info:
name: Coinlayer API Test
author: daffainfo
severity: info
reference: https://coinlayer.com/documentation
reference:
- https://coinlayer.com/documentation
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Coinlayer.md
tags: token-spray,coinlayer

self-contained: true
Expand Down