Giter VIP home page Giter VIP logo

Comments (4)

cumsack avatar cumsack commented on May 30, 2024

account u responded to is my alt. anyways as an answer to ur question yea some of them require json payloads. however i genuinely cba to add them so ima js explain to u how to find them. get this extension and then use it to view ropro's src. once you are there make it so that it only shows .js files and then you can simply go thru the files until you find the endpoint you want and you can see what data is required and how to use the endpoints. hopefully ive helped u

from ropro-api.

Exilon24 avatar Exilon24 commented on May 30, 2024

That is the exact method I used to look through the source 😅. Was hoping to find a better one but it seems like that's it. Thank you though!

But, I'm not very cultured in javascript but I want to use this POST call:
https://api.ropro.io/getServerInfo.php

To get the location of a server in my own program. I know one argument is the gameid, but what is the other one? If my knowledge servers me well, its a dictionary of the server's instance ID and something else but what?

from ropro-api.

cumsack avatar cumsack commented on May 30, 2024

import requests
r=requests.post(
"https://api.ropro.io/getServerInfo.php",
data={
"placeID": 1, # Roblox Place ID
"servers": ["8eb66092-5de4-4c94-8680-b5b79e8324d0"] # Server ID?
}
)

print(r.text)

returns [] every time i run it
i dont know what to do either as i dont often meddle with the apis of extensions and such. sorry that i couldnt be of more help

from ropro-api.

Exilon24 avatar Exilon24 commented on May 30, 2024

Yea I get the same result. I think the "servers" argument takes this ["instanceId" , HTMLCollection].

from ropro-api.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.