Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifailon committed May 8, 2024
1 parent fe08095 commit 3f244af
Showing 1 changed file with 177 additions and 2 deletions.
179 changes: 177 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,178 @@
# EpicGames API
# EpicGames Statistics

This repository contains a static API server based on GitHub Actions for generating JSON files.
Данный рипозиторий содержит списки игр, который ежедневно обновляется с помощью GitHub Actions.

Этот проект реализует две цели:
- На главной странице (README этого проекта) вы можете наблюдать за статусом актуальных раздач, а также статистикой количества игр, скидок и т.п.
- Вы можете использовать REST запросы для получения отформатированных списков с играми в формате `json`

Планируется реализовать:
\- Фильтрация вывода
\- Обработка остальных список
\- Разместить списки на GitHub Page (https://lifailon.github.io/egs/api/free)
\- Обновление статуса со скидками

### Запросы

`$(Invoke-RestMethod "https://raw.githubusercontent.com/Lifailon/egs/rsa/json/FreeGames.json")[3] | ConvertTo-Json -Depth 10`

```json
{
"title": "Orcs Must Die! 3",
"id": "144edd0ee90645cb9c31ae6d97fcfcaf",
"namespace": "a1a52b1a570e4ee3ab3b2a8ca930753e",
"description": "Режьте, поджигайте, расплющивайте, испепеляйте, перемалывайте и потрошите огромные орды отвратительных орков в этом долгожданном продолжении прославленной серии Orcs Must Die!",
"effectiveDate": "2024-05-02T15:00:00Z",
"isCodeRedemptionOnly": false,
"keyImages": [
{
"type": "OfferImageWide",
"url": "https://cdn1.epicgames.com/spt-assets/af503dd7e8b64218b69c22a9003de268/orcs-must-die-3-1puow.jpg"
},
{
"type": "OfferImageTall",
"url": "https://cdn1.epicgames.com/spt-assets/af503dd7e8b64218b69c22a9003de268/orcs-must-die-3-f3qpi.png"
},
{
"type": "Thumbnail",
"url": "https://cdn1.epicgames.com/spt-assets/af503dd7e8b64218b69c22a9003de268/orcs-must-die-3-f3qpi.png"
}
],
"currentPrice": 2999,
"seller": {
"id": "o-fvarnus9zssf4lmv953ylzl3sbe4qc",
"name": "Robot Entertainment"
},
"productSlug": null,
"urlSlug": "e275bea709b14063b3902af8d0deadf0",
"url": null,
"tags": [
{
"id": "1216"
},
{
"id": "1264"
},
{
"id": "1170"
},
{
"id": "21109"
},
{
"id": "21894"
},
{
"id": "19847"
},
{
"id": "22776"
},
{
"id": "1370"
},
{
"id": "1115"
},
{
"id": "9547"
},
{
"id": "9549"
}
],
"items": [
{
"id": "7bb18b0946384739b47c60ef80be049d",
"namespace": "a1a52b1a570e4ee3ab3b2a8ca930753e"
}
],
"customAttributes": [
{
"key": "autoGeneratedPrice",
"value": "false"
},
{
"key": "isManuallySetViewableDate",
"value": "true"
},
{
"key": "isPromotionalContentUsed",
"value": "null"
},
{
"key": "isManuallySetPCReleaseDate",
"value": "true"
},
{
"key": "isBlockchainUsed",
"value": "false"
}
],
"categories": [
{
"path": "freegames"
},
{
"path": "games"
},
{
"path": "games/edition"
},
{
"path": "games/edition/base"
}
],
"catalogNs": {
"mappings": [
{
"pageSlug": "combo-a7e03a",
"pageType": "productHome"
}
]
},
"offerMappings": [
{
"pageSlug": "combo-a7e03a",
"pageType": "productHome"
}
],
"developerDisplayName": "Robot Entertainment",
"publisherDisplayName": "Robot Entertainment",
"price": {
"totalPrice": {
"discountPrice": 0,
"originalPrice": 2999,
"voucherDiscount": 0,
"discount": 2999,
"currencyCode": "USD",
"currencyInfo": {
"decimals": 2
},
"fmtPrice": {
"originalPrice": "29,99 $",
"discountPrice": "0",
"intermediatePrice": "0"
}
},
"lineOffers": [
{
"appliedRules": [
{
"id": "59d3e941e1b24bc9bd3f902176f37ea1",
"endDate": "2024-05-09T15:00:00Z",
"discountSetting": {
"discountType": "PERCENTAGE"
}
}
]
}
]
},
"prePurchase": null,
"releaseDate": "2024-05-02T15:00:00Z",
"pcReleaseDate": "2021-07-23T17:00:00Z",
"viewableDate": "2024-04-25T15:00:00Z",
"approximateReleasePlan": null
}
```

0 comments on commit 3f244af

Please sign in to comment.