Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   855

Getting live stock from Shoppy.gg?

by Asphy - 17 October, 2019 - 08:20 PM
This post is by a banned member (Asphy) - Unhide
Asphy  
Godlike
2.039
Posts
354
Threads
#1
(This post was last modified: 17 October, 2019 - 08:21 PM by Asphy.)
Question, 
Does anyone know if it's possible to get the live stock from my Shoppy.gg product on my website?

[Image: kKpRpFI.png]
WARNING: https://t.me/combosofficiaI (capital i at the end instead of an L) is NOT me, it's an imposter trying to scam people, always DM me here if you want to know if it's me.
This post is by a banned member (CatCoder) - Unhide
CatCoder  
Coder
218
Posts
47
Threads
6 Years of service
#2
@Asphy they have api you should check it out
This post is by a banned member (Asphy) - Unhide
Asphy  
Godlike
2.039
Posts
354
Threads
#3
(17 October, 2019 - 08:25 PM)BataBo Wrote: Show More
@Asphy they have api you should check it out

I believe they do, but I don't understand a thing of how to work with api's  Pepe
WARNING: https://t.me/combosofficiaI (capital i at the end instead of an L) is NOT me, it's an imposter trying to scam people, always DM me here if you want to know if it's me.
This post is by a banned member (CatCoder) - Unhide
CatCoder  
Coder
218
Posts
47
Threads
6 Years of service
#4
In your case what you need to do is connect here:
Code:
https://shoppy.gg/api/v1/products/{product?}

and add a header containing you auth key like this:
Code:
Authorization: your_key
you will get a json response and look for parameter stock and display it's value on your website

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)