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

https://github.com/eliasdevis/datolite

Unofficial topaz24 mobile api
https://github.com/eliasdevis/datolite

topaz topaz24

Last synced: 2 months ago
JSON representation

Unofficial topaz24 mobile api

Awesome Lists containing this project

README

          


Datolite


Unofficial client to Topaz24 mobile API.

---

It uses [apk.topaz24.pl/api](https://apk.topaz24.pl/api) to get the data.

## Installation
```bash
npm install datolite
```

## Example
```ts
import { getAdvice } from "topaz-api";

console.log(await getAdvice(1));
// ===>
// {
// id: 1,
// title: "Title",
// teaser: "

Teaser

",
// image: {
// extension: "jpg",
// name: "99999999-9999-4e99-9999-999999999999",
// },
// stickOnCarousel: false,
// showOnlyInCarousel: false,
// adviceType: {
// id: 1,
// name: "Przepis"
// },
// content: "

Content

",
// orderInCarousel: null,
// ingredients: [
// {
// id: 10,
// name: "Name",
// product: {//..}
// }
// ],
// createDate: Date
// }
```