Dokumentoj pri la integriĝo de partneroj

page.partner_api.get_referral_link

page.partner_api.referral_link_text




page.partner_api.text01

page.partner_api.text02
page.partner_api.example_link_parameters: https://nimlab.eu/ref/XXXXXX/?cur_from=PMUSD&cur_to=BTC



page.partner_api.course_export_links:

XML

https://nimlab.eu/service/export/xml/:code

JSON

https://nimlab.eu/service/export/json/:code

TXT

https://nimlab.eu/service/export/txt/:code

page.partner_api.for_partners

page.partner_api.get_api_key

page.partner_api.text03


page.partner_api.request_address:

URL: https://nimlab.eu/service/partner/api.php

page.partner_api.passed_get_parameters:

api_action – pp
api_key – page.partner_api.your_private_key
method – page.partner_api.module_api_method

page.partner_api.text04:
https://nimlab.eu/service/partner/api.php?api_action=pp&api_key={api_key}&method={method}



get_info - page.partner_api.get_info

page.partner_api.parameter:
Nomo Tajpu Necesa Priskribo
page.partner_api.text05
page.partner_api.result:
{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    balance: 15,
    totalReceived: 0,
    link: "test",
    min_payout: 99999999,
    items: { },
  },
}
      


get_exchanges - page.partner_api.get_exchanges

page.partner_api.parameter:
Nomo Tajpu Necesa Priskribo
start_time Integer No page.partner_api.text06
end_time Integer No page.partner_api.text07
page.partner_api.result:
{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    items: {
      1895: {
        id: 1895,
        time: 1590356264,
        date: "2020-05-24 21:37:44",
        course_give: 0,
        course_get: 241.57,
        amount_give: 0,
        amount_get: 241.57,
        exchange_success: 1,
        accrued: 1,
        partner_reward: 0,
        user_hash: "1r7",
      }
    }
  }
}
      


get_links - page.partner_api.get_links

page.partner_api.parameter:
Nomo Tajpu Necesa Priskribo
start_time Integer No page.partner_api.text06
end_time Integer No page.partner_api.text07
page.partner_api.result:
{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    items: {
      1631577600: {
        id: 1631577600,
        time: 1631577600,
        date: "2021-09-14 00:00:00",
        browser: "Unknown",
        ip: "0.0.0.0",
        referrer: "",
        user_hash: "613fe600",
        query_string: ""
      }
    }
  }
}