How to use the API
I have been making Gmod addons for fun for a while now, but just came across Gmod Store and thought, wouldn't it be cool to earn money for things I love doing! Anyways, I would like to know how to use the API in my addon, maybe like a Lua example? or where I put the API, if you need more info on what I mean, just ask ;)
EDIT: So how would I make it show me users that are using it, sort of like how I can only make the addon work for buyers, and not be stolen?
Thanks
https://github.com/Marcuzz/scriptfodder-api-examples should be pretty self explanatory if you know Lua
you'd need a DRM to make it not work for leakers
https://github.com/ARitz-Cracker/scriptfodder.js Here's a NodeJS version
The NPM version isn't updated to work with "GmodStore", but it's literally changing the host from "scriptfodder.com" to "www.gmodstore.com" in one of the files.
ByLunaversity.xyz 🌸at 20th of May 2017 16:30:33
https://github.com/Marcuzz/scriptfodder-api-examplesshould be pretty self explanatory if you know Luayou'd need a DRM to make it not work for leakers
Oh thanks!
Edited
ByARitz Crackerat 20th of May 2017 19:00:52
https://github.com/ARitz-Cracker/scriptfodder.jsHere's a NodeJS versionThe NPM version isn't updated to work with "GmodStore", but it's literally changing the host from "scriptfodder.com" to "www.gmodstore.com" in one of the files.
Oh sweet thanks!!
Edited Sorry to be a pain again, but when someone purchases a script, I manually make another API key or can a PHP script do that?