Giter Site home page Giter Site logo

salamoonder-llc / salamoonder-py Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 32 KB

A straightforward Python wrapper for Salamoonder's API, designed for easy integration and usage.

Home Page: https://salamoonder.com/

License: GNU General Public License v3.0

Python 100.00%
kasada kasada-reverse kasada-solver kasadasolver salamoonder kpsdk kpsdk-cd kpsdk-ct

salamoonder-py's Introduction

Salamoonder API Python Wrapper

This is a Python wrapper for interacting with the Salamoonder API. It simplifies the process of creating tasks and retrieving task results using Salamoonder's services.

Installation

To use this wrapper in your project, simply copy the salamoonder.py file into your project directory.

Usage

Initialization

To use the Salamoonder API wrapper, first initialize an instance of the salamoonder class with your API key:

salamoonder_api = salamoonder(api_key="YOUR_API_KEY_HERE")

Example: Creating a KasadaCaptchaSolver task

task_id = salamoonder_api.createTask(
    task_type="KasadaCaptchaSolver", 
    pjs_url="https://k.twitchcdn.net/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js",
    cd_only="false"
)

Example: Creating a Twitch_CheckIntegrity task

task_id = salamoonder_api.createTask(
    task_type="Twitch_CheckIntegrity", 
    token="v4.public_token"
)

Example: Creating a Twitch_PublicIntegrity task

task_id = salamoonder_api.createTask(
    task_type="Twitch_PublicIntegrity", 
    access_token="YOUR_ACCESS_TOKEN", 
    proxy="ip:port", 
    device_id="Optional", 
    client_id="Optional"
)

Example: Creating a Twitch_RegisterAccount task

task_id = salamoonder_api.createTask(
    task_type="Twitch_RegisterAccount", 
    email="[email protected]"
)

Example: Retrieving task result

solution = salamoonder_api.getTaskResult("YOUR_API_KEY_HERE", task_id)
print("Solution:", solution)

Support

If you need any help, please reach out to our support members on Telegram here.

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.