Exapi or Execross API is an API library designed for Line Messenger and social media interactions. This project includes Python, JavaScript and Golang examples to demonstrate its usage.
Clone this repository and install the required dependencies:
git clone https://github.com/goodop/exapi.git
cd exapi
pip install -r requirements.txt
Ensure your project directory is structured as follows:
root/your-project/
├── exapi/
│ ├── __init__.py
│ └── exapi.py
└── example.py
Here's how to use the module in example.py :
from exapi.exapi import ExecrossAPI
def main():
api = ExecrossAPI()
params = {
'apikey': api.apikey,
'appName': 'ANDROID\t13.19.1\tANDROID\t12.3.3772',
'authToken': "uc23h7f331c8819j90fa9182db42a6e26:aWF0OiAbmkjDI5OTM2MTU2MDAK....", # Change to your primary token
'proxy': None,
'mid': 'ufed869bc1105aedd331665d57cea407d', # Target mid
}
data = api.exampleAddFriendPrimary(params)
print(data)
if __name__ == "__main__":
main()
More Example: visit here
To make a manual request, you can use a single function in a single file. This approach is useful if you prefer not to use the module structure.
Here’s an example:
import requests
def exampleAddFriendSecondary():
url = 'https://execross.com/api/v3/addfriend'
params = {
'apikey': 'forexecman',
'appName': 'DESKTOPMAC\t8.5.2\tMAC\t10.15.7', #Example Desktop win appname: 'DESKTOPWIN\t8.5.0\tWINDOWS\t10.0'
'authToken': '', #change with authToken V1 or v3
'proxy': '47.251.70.179',
'mid': 'ua7dfa3ce0339d1033e83e6059f0419e1'
}
response = requests.get(url, params=params)
if response.status_code == 200:
print(response.json())
else:
print(f'Error: {response.status_code}')
print(response.json())
exampleAddFriendSecondary()
More example: visit here
To make fetch ExecrossAPI using javascript you must install node on your system. for detail please read the instruction.
Here’s an example:
const ExecrossAPI = require('./exapi');
const api = new ExecrossAPI();
async function main() {
try {
const tiktokParams = { url: 'https://vt.tiktok.com/ZSYwxGV9P/' };
const tiktokVideo = await api.downloadTiktok(tiktokParams);
if (tiktokVideo.error) {
console.error('Error:', tiktokVideo.error);
} else {
console.log('TikTok Video:', tiktokVideo.data);
}
} catch (error) {
console.error('Unexpected Error:', error);
}
}
more example: visit here
Feel free to open issues or submit pull requests. Please ensure your code adheres to the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License - see the LICENSE file for details.
Host:
https://execross.com/api/v3
No. | Endpoint | Parameters |
---|---|---|
1 | /proxies | None |
2 | /loginqr |
- apikey - appName - certificate - proxy |
3 | /reqpin |
- apikey - session |
4 | /reqtoken |
- apikey - session |
5 | /loginqrv1 |
- apikey - appName - certificate - proxy |
6 | /reqpinv1 |
- apikey - session |
7 | /reqtokenv1 |
- apikey - session |
8 | /loginemail |
- apikey - appName - certificate - password - proxy (optional) |
9 | /reqemailtoken | - apikey |
10 | /loginemailv1 |
- apikey - appName - certificate - password - proxy (optional) |
11 | /reqemailtokenv1 | - apikey |
12 | /addfriend |
- apikey - appName - authToken - proxy (optional) - mid |
13 | /linestory |
- apikey - appName - authToken - proxy (optional) - mid |
14 | /linepost |
- apikey - appName - authToken - proxy (optional) - mid - postId |
15 | /friendrecomendation |
- apikey - appName - authToken - proxy (optional) |
16 | /msgidtourl |
- apikey - appName - authToken - proxy (optional) - messageId |
17 | /convertparseurl |
- apikey - parseURL |
18 | /webp2mp4 |
- apikey - url |
19 | /mp42gif |
- apikey - url - start - end - transparent (optional) |
20 | /video2apng |
- apikey - url - start - end |
21 | /smuledl |
- apikey - url |
22 | /instapost |
- apikey - url |
23 | /instastory |
- apikey - userid |
24 | /instastalker |
- apikey - userid |
25 | /instaprofiledetails |
- apikey - userid |
26 | /twitterdl |
- apikey - url |
27 | /facebookdl |
- apikey - url |
28 | /tiktokdl |
- apikey - url |