Skip to content

Commit 5cd131c

Browse files
authored
πŸ“ Create README.md
1 parent a1df151 commit 5cd131c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Tellonym.jsbbbbb
2+
πŸ•΅οΈβ€β™‚οΈ Tellonym private api wrapper made in typescript
3+
4+
## Token
5+
To retrieve the token you have to sniff HTTP requests or get it from web localStorage.
6+
You can use this [script](/getToken.js) on pc by pasting it in the console,
7+
or you can use the `javascript:` method **even on mobile** by:
8+
9+
β€’ Copying the [script's content](https://raw.githubusercontent.com/47PADO47/Tellonym.js/main/getToken.js)
10+
11+
β€’ Going on a javascript minifier website, such as https://minify-js.com/, and minifying it
12+
13+
β€’ Going on telloynm.me, tapping the search bar, writing `javascript:` and pasting the minified code
14+
15+
## Example
16+
```javascript
17+
const { Tellonym } = require('tellonym.js');
18+
19+
const tellonym = new Tellonym({
20+
//Optional, use it to recive some logs in the console
21+
debug: true,
22+
});
23+
24+
(async () => {
25+
await tellonym.login('token');
26+
27+
tellonym.getFeedList()
28+
.then(console.log);
29+
})();
30+
```

0 commit comments

Comments
Β (0)