Skip to content

Commit

Permalink
option to send flag(enc=[true|false]) to decode url before get tags o…
Browse files Browse the repository at this point in the history
…n /apis/ogtags
  • Loading branch information
Matheus Cesar Carneiro committed May 30, 2020
1 parent acd9bf2 commit fc26999
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 185 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ response:
## Og tag getter

``` http
https://polarpod.herokuapp.com/apis/ogtags?u=[URL]
https://polarpod.herokuapp.com/apis/ogtags?u=[URL]&enc=[true|false]
```

parameters:

* u: url
* enc: (optional) if the url is encoded or not. flag not mandatory even if is encoded

response:

Expand Down Expand Up @@ -94,13 +95,13 @@ https://polarpod.herokuapp.com/apis/hash/raw/sha256?d=test
## SVG QR Code generator

```http
https://polarpod.herokuapp.com/apis/qr?u=[URL]&d=[true]/[false]&w=[width]&c=[color]&bg=[background]
https://polarpod.herokuapp.com/apis/qr?u=[URL]&d=[true|false]&w=[width]&c=[color]&bg=[background]
```

parameters:

* u: data
* d: dark/light [true/false] (if true generates a lighet qr)
* d: dark/light [true|false] (if true generates a lighet qr)
* w: width
* c: HEX color **(without the #)** _default colors: for dark themes=#CCCCCC and light=#222222_
* bg: background color in HEX **(without the #)** _default is transparent_
Expand All @@ -117,7 +118,7 @@ _same as above just add /file, the code will be saved and avaliable at ... .com/
**this is for a specific use case that i needed**

```http
https://polarpod.herokuapp.com/apis/qr/file?u=[URL]&d=[true]/[false]&w=[width]&c=[color]&bg=[background]
https://polarpod.herokuapp.com/apis/qr/file?u=[URL]&d=[true|false]&w=[width]&c=[color]&bg=[background]
```

## Video URL parser
Expand Down
Loading

0 comments on commit fc26999

Please sign in to comment.