Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/setdjod/blogger-api-now

Blogger API Zeit Now
https://github.com/setdjod/blogger-api-now

blogger blogger-api zeit zeit-nodejs zeit-now

Last synced: 17 days ago
JSON representation

Blogger API Zeit Now

Awesome Lists containing this project

README

        

# Blogger API Zeit Now

Based from [blogger-api](https://github.com/setdjod/blogger-api)

## Table of Contents

- [Setup](#setup)
- [Running localy](#run-localy)
- [Get All Label](#all-label)
- [Get Spesific Label](#spesific-label)
- [Get All Pages](#all-pages)
- [Get Spesific Pages](#spesific-pages)
- [Get All Posts](#all-posts)
- [Get Spesific Posts](#spesific-posts)

## Setup

```bash
npm install
```

## Run Localy

```bash
npm run dev
```

## Now Environment Variables and Secrets

```bash
# Default or you can change it
now -e NODE_ENV="development"
now -e API_URL="https://www.blogger.com/feeds"
now -e BLOG_ID="6732289991114793651"
```

## All Label

- Production:

| Query | Type | Default | Description |
| ------------- |:----------------:| :------:| - |
| blogid | number | - | - |
| order | enum (asc, desc) | asc | - |
| limit | number | 5 | - |
| pages | number | 1 | - |

## Spesific Label

- Production:

| Query | Type | Default | Description |
| ------------- |:-------------------------:| :--------:| - |
| blogid | number | - | - |
| order | enum (published, updated) | published | - |
| limit | number | 5 | - |
| pages | number | 1 | - |
| updated_min | date iso 8601 | null | - |
| updated_max | date iso 8601 | null | - |
| published_min | date iso 8601 | null | - |
| published_max | date iso 8601 | null | - |

## All Pages

- Production:

| Query | Type | Default | Description |
| ------------- |:-------------------------:| :--------:| - |
| blogid | number | - | - |
| order | enum (published, updated) | published | - |
| limit | number | 5 | - |
| pages | number | 1 | - |
| updated_min | date iso 8601 | null | - |
| updated_max | date iso 8601 | null | - |
| published_min | date iso 8601 | null | - |
| published_max | date iso 8601 | null | - |

## Spesific Pages

- Production:

| Query | Type | Default | Description |
| ------------- |:-------------------------:| :--------:| - |
| blogid | number | - | - |
| isjson | boolean | false | - |

## All Posts

- Production:

| Query | Type | Default | Description |
| ------------- |:-------------------------:| :--------:| - |
| blogid | number | - | - |
| order | enum (published, updated) | published | - |
| limit | number | 5 | - |
| pages | number | 1 | - |
| updated_min | date iso 8601 | null | - |
| updated_max | date iso 8601 | null | - |
| published_min | date iso 8601 | null | - |
| published_max | date iso 8601 | null | - |

## Spesific Posts

- Production:

| Query | Type | Default | Description |
| ------------- |:-------------------------:| :--------:| - |
| blogid | number | - | - |
| isjson | boolean | false | - |