Skip to content

ScarlexDev/ScarlexGO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scarlex API Wrapper

How To Use

  • join our Discord for any support (link above).
  • register your own profile on our website (link above).
  • then login and you're ready to fetch endpoints and check your stats.

Examples

package main


import "scarlex/scarlex"
import "fmt"
import "encoding/json"

func main() {
           Data := scarlex.MakeRequest("https://scarlex.org/api/v1/progressbar?max=100&value=69&size=100&style=3", "A V I X I T Y", "daddyscar")
            var result map[string]interface{}
            json.Unmarshal([]byte(Data), &result)
            fmt.Println(result["message"] , result["percentage"])
}
// will return json response
{
  "code": 200,
  "message": "•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••───────────────────────────────",
  "percentage": "69/100"
}

Developers / Contributors

Releases

No releases published

Packages

No packages published

Languages