Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Add examples #72

Closed
szdc opened this issue Dec 19, 2018 · 9 comments
Closed

Add examples #72

szdc opened this issue Dec 19, 2018 · 9 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@szdc
Copy link
Owner

szdc commented Dec 19, 2018

Is your feature request related to a problem? Please describe.
It's difficult for new users to get started quickly because there isn't an example that works out-of-the-box to see and play around with.

Describe the solution you'd like
Add an examples/ folder with some simple examples.

@szdc szdc added the enhancement New feature or request label Dec 19, 2018
@codemaster730
Copy link

Hi, I also couldn't figure out the way to run this api.
I feel the lack of documentation.
Should I start with Node.js ?

@szdc
Copy link
Owner Author

szdc commented Dec 21, 2018

@axiom88-guru yes, this is an npm library so it is a fair expectation that the end user has some familiarity with NodeJS.

@thongtrinh2204
Copy link

thongtrinh2204 commented Jan 22, 2019

@szdc could you help me an full example to get posts of an user_id?
What should i fill into these params?
const signURL = async (url, ts, deviceId) => {
const as = 'anti-spam parameter 1';
const cp = 'anti-spam parameter 2'
const mas = 'anti-spam parameter 3';

return ${url}&as=${as}&cp=${cp}&mas=${mas};
}

const params = getRequestParams({
device_id: '<device_id>',
fp: '<device_fingerprint>',
iid: '<install_id>',
openudid: '<device_open_udid>',

});

@thongtrinh2204
Copy link

@szdc could you take a look at my comment

@szdc
Copy link
Owner Author

szdc commented Jan 27, 2019

@comsuoncha you have to supply the signURL method yourself as mentioned in the README. The request parameters can be sourced by looking at a device running the app using Frida, mitmproxy or something similar.

@VladKabantsov
Copy link

@szdc Sorry, I do not understand. Can you give me full example how to start work with your API?
Also, I will be grateful if you will give me example how to start video stream using OBS and your API?

@onfound
Copy link

onfound commented Feb 28, 2019

@szdc The api connection was figured out, but when using there were problems with the login request on the service. The query requires a Google captcha, but some such as getUser worked great

@chen-yifu
Copy link

@szdc The api connection was figured out, but when using there were problems with the login request on the service. The query requires a Google captcha, but some such as getUser worked great

Could you please elaborate on how you figured out the paramerters for signURL and params?? Thanks in advance!

@szdc szdc added the wontfix This will not be worked on label Sep 1, 2021
@szdc
Copy link
Owner Author

szdc commented Sep 1, 2021

Closing as this project is no longer maintained.

@szdc szdc closed this as completed Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

6 participants