Skip to content

Instantly share code, notes, and snippets.

@thevar1able
Last active March 27, 2022 17:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thevar1able/c2ea032d364c4c070f0b35ed8f74a99b to your computer and use it in GitHub Desktop.
Save thevar1able/c2ea032d364c4c070f0b35ed8f74a99b to your computer and use it in GitHub Desktop.

lenta.com basic promotions API

  • Get your store id at https://lenta.com/api/v1/stores/
  • Grab promoted goods info at:
    https://lenta.com/api/v1/stores/<store_id>/home
    https://lenta.com/api/v1/stores/<store_id>/crazypromotions
    https://lenta.com/api/v1/stores/<store_id>/mobilepromo?hideAlcohol=false&limit=15&offset=0&type=weekly
    

Figuring out authentication and receiving personal promotions is left as an exercise for the reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment