Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kondoumh/tumblr-score

Fetch Your Tumblr Score(Reblog, like) via Tumblr API.
https://github.com/kondoumh/tumblr-score

json netlify nodejs tumblr

Last synced: about 2 months ago
JSON representation

Fetch Your Tumblr Score(Reblog, like) via Tumblr API.

Awesome Lists containing this project

README

        

Fetch Tumblr Posts score
=============================================

![Build and publish](https://github.com/kondoumh/tumblr-score/workflows/Build%20and%20publish/badge.svg)

## install packages.

```
$ npm install
```

## run with config JSON (during development)

create config/dev.json

```json
{
"Blog": {
"identifier": "your.tumblr.identifier",
"apiKey": "yourapikey"
}
}
```

run
```
$ npm start
```

run (Windows)
```
> npm windows
```

## run with environment value (in production)

```
$ export BLOG_IDENTIFIER=your.tumblr.identifier
$ export BLOG_API_KEY=yourapikey

$ npm run env
```

## output

Result file(JSON) will be created.

- public/tumblr-score.json
- public/summary.txt

Output image(JSON)

```json
[
{
"url": "'https://reblog.kondoumh.com/post/173599194007'",
"date": "'2018-05-05 06:22:13 GMT'",
"type": "'quote'",
"slug": "'私は財務面のことはよく知らないのですがゲームアンドウォッチの発売前任天堂は70億とも80億'",
"count": "'36'"
},
{
"url": "'https://reblog.kondoumh.com/post/173564859897'",
"date": "'2018-05-04 03:13:22 GMT'",
"type": "'quote'",
"slug": "'自然現象はなぜ数学で説明できるのか-質問'",
"count": "'194'"
},
{
"url": "'https://reblog.kondoumh.com/post/173539445457'",
"date": "'2018-05-03 07:49:24 GMT'",
"type": "'quote'",
"slug": "'車いすの天才科学者として知られた英物理学者スティーブンホーキング博士が3月に死去する前に書き上'",
"count": "'2'"
}
```

'count' attribute is the sum of reblog and liked.