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

https://github.com/rojenzaman/eksi2json

Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.
https://github.com/rojenzaman/eksi2json

archiver eksi eksi-sozluk eksisozluk sozluk turkish

Last synced: 12 months ago
JSON representation

Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.

Awesome Lists containing this project

README

          

# eksi2json

Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.

## Usage

First install the dependencies:

```bash
npm install
```

and run:

```bash
node eksi2json.js "username"
```

User data will be saved to the `username.json` file.

## JSON Object Structure

```json
{
"entries": [
{
"title": "",
"entry": "",
"date": "",
"link": ""
}
],
"profile": [
{
"quote": "",
"quote_title": "",
"quote_date": "",
"quote_link": "",
"badges": "",
"count": ""
}
]
}
```

## Convert JSON data to UNIX environment file

```bash
json2env.sh username.json
```

and use it:

```bash
. ${epoch}.ENV
```

```bash
for (( i = 0; i < ENTRY_COUNT; i++ )); do
cat <