Skip to content

Commit

Permalink
Add expires_at from Release v.2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NavisGames authored and raimannma committed Mar 20, 2023
1 parent 3ef1ad1 commit e093116
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 36 deletions.
73 changes: 37 additions & 36 deletions tests/unit/endpoints/mock_responses/store_featured_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"status": 200,
"data": [
{
"bundle_uuid": "a5da7b5a-49a4-8fa9-a1c6-01a9aced0f9f",
"bundle_price": 8700,
"bundle_uuid": "b7d754d4-44aa-4663-afc3-84a5cccc3c9d",
"bundle_price": 7100,
"whole_sale_only": false,
"items": [
{
"uuid": "b681b5cf-4394-1af7-7ccb-b8a412d05010",
"name": "ChronoVoid Buddy",
"image": "https://media.valorant-api.com/buddies/b681b5cf-4394-1af7-7ccb-b8a412d05010/displayicon.png",
"uuid": "92570000-409d-6deb-e5a6-509ee279c614",
"name": "Oni, Ep 6 Buddy",
"image": "https://media.valorant-api.com/buddies/92570000-409d-6deb-e5a6-509ee279c614/displayicon.png",
"type": "buddy",
"amount": 2,
"discount_percent": 1,
Expand All @@ -18,9 +18,9 @@
"promo_item": false
},
{
"uuid": "49288113-4c45-8c18-3862-1f8cee403408",
"name": "ChronoVoid Card",
"image": "https://media.valorant-api.com/playercards/49288113-4c45-8c18-3862-1f8cee403408/displayicon.png",
"uuid": "b06a92e4-48ab-81f5-244b-9987534a8603",
"name": "Oni, Ep 6 Card",
"image": "https://media.valorant-api.com/playercards/b06a92e4-48ab-81f5-244b-9987534a8603/displayicon.png",
"type": "player_card",
"amount": 1,
"discount_percent": 1,
Expand All @@ -29,9 +29,9 @@
"promo_item": false
},
{
"uuid": "ee9aebf4-4cc7-8fe8-022b-1c8f50500e7b",
"name": "ChronoVoid Spray",
"image": "https://media.valorant-api.com/sprays/ee9aebf4-4cc7-8fe8-022b-1c8f50500e7b/displayicon.png",
"uuid": "bc34230c-48be-a8da-16c0-63abe07d3887",
"name": "Oni, Ep 6 Spray",
"image": "https://media.valorant-api.com/sprays/bc34230c-48be-a8da-16c0-63abe07d3887/displayicon.png",
"type": "spray",
"amount": 1,
"discount_percent": 1,
Expand All @@ -40,62 +40,63 @@
"promo_item": false
},
{
"uuid": "8e762a1f-4102-b7ce-d6a0-9690c5bfe160",
"name": "ChronoVoid Vandal",
"image": "https://media.valorant-api.com/weaponskins/8e762a1f-4102-b7ce-d6a0-9690c5bfe160/displayicon.png",
"uuid": "759bca71-4764-19f8-8890-239eedb78fa3",
"name": "Oni Ares",
"image": "https://media.valorant-api.com/weaponskins/759bca71-4764-19f8-8890-239eedb78fa3/displayicon.png",
"type": "skin_level",
"amount": 1,
"discount_percent": 0,
"base_price": 2175,
"discounted_price": 2175,
"base_price": 1775,
"discounted_price": 1775,
"promo_item": false
},
{
"uuid": "2aac8bb3-4cfa-b806-21e4-5a8e9904caa4",
"name": "ChronoVoid Phantom",
"image": "https://media.valorant-api.com/weaponskins/2aac8bb3-4cfa-b806-21e4-5a8e9904caa4/displayicon.png",
"uuid": "7156c2ee-41fc-f8f4-d457-ebb287965c08",
"name": "Oni Vandal",
"image": "https://media.valorant-api.com/weaponskins/7156c2ee-41fc-f8f4-d457-ebb287965c08/displayicon.png",
"type": "skin_level",
"amount": 1,
"discount_percent": 0,
"base_price": 2175,
"discounted_price": 2175,
"base_price": 1775,
"discounted_price": 1775,
"promo_item": false
},
{
"uuid": "4d2ec3f4-446e-a501-74d8-5ab750f50984",
"name": "ChronoVoid Judge",
"image": "https://media.valorant-api.com/weaponskins/4d2ec3f4-446e-a501-74d8-5ab750f50984/displayicon.png",
"uuid": "325d2274-487b-8672-84d6-6db8e9798447",
"name": "Oni Bulldog",
"image": "https://media.valorant-api.com/weaponskins/325d2274-487b-8672-84d6-6db8e9798447/displayicon.png",
"type": "skin_level",
"amount": 1,
"discount_percent": 0,
"base_price": 2175,
"discounted_price": 2175,
"base_price": 1775,
"discounted_price": 1775,
"promo_item": false
},
{
"uuid": "e1fdd246-4a6c-af26-f0a0-65a48f2586da",
"name": "ChronoVoid Sheriff",
"image": "https://media.valorant-api.com/weaponskins/e1fdd246-4a6c-af26-f0a0-65a48f2586da/displayicon.png",
"uuid": "7a20502f-45b2-6781-b408-08bc86c5e5e2",
"name": "Oni Frenzy",
"image": "https://media.valorant-api.com/weaponskins/7a20502f-45b2-6781-b408-08bc86c5e5e2/displayicon.png",
"type": "skin_level",
"amount": 1,
"discount_percent": 0,
"base_price": 2175,
"discounted_price": 2175,
"base_price": 1775,
"discounted_price": 1775,
"promo_item": false
},
{
"uuid": "1b8de6d7-4f37-7170-acd7-e78829f7959a",
"name": "Terminus A Quo",
"image": "https://media.valorant-api.com/weaponskins/1b8de6d7-4f37-7170-acd7-e78829f7959a/displayicon.png",
"uuid": "4e7342a5-4820-2d79-a488-0fa51a4357f7",
"name": "Onimaru Kunitsuna",
"image": "https://media.valorant-api.com/weaponskins/4e7342a5-4820-2d79-a488-0fa51a4357f7/displayicon.png",
"type": "skin_level",
"amount": 1,
"discount_percent": 1,
"base_price": 4350,
"base_price": 5350,
"discounted_price": 0,
"promo_item": false
}
],
"seconds_remaining": 1058399
"seconds_remaining": 791999,
"expires_at": "2023-03-29T20:59:59.825Z"
}
]
}
1 change: 1 addition & 0 deletions valo_api/responses/store_featured.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class BundleV2(DictStruct):
bundle_price: int
items: List[BundleItemV2]
seconds_remaining: int
expires_at: str
whole_sale_only: bool


Expand Down

0 comments on commit e093116

Please sign in to comment.