DataAPI can navigate API in three ways.
S1: Please visit the iData home page and click the search box at the top of the page to enter the name of the API you want to search for.
S2: API positioning by category, quickly find a set of categories to determine the type of API .
S3: Through the platform to provide the application scenarios, according to the scene on a set of API positioning.
You can find the API you need by searching the API directly or by clicking on the API Marketplace. Once you have added the API, you can find it in the "My Data List" in the User Center. Add APIs to manage them.
Tips: Free users can only add up to three platform APIs. To add more APIs, please fill in the amount and become a member.
S1: Please visit the iData home page, click on the top of the page "API Market", select the API you need
S2: Click "Add Now" under the API product and click OK to add.
After the user locates to a specific API, it can be tested by "testing immediately".
S1: Please visit the iData home page, click on the top of the page "API Market", select the API you need
S2: Click "Test Now" under the API product
S3: Enter the test page, you can test.
Tips: The test results can be downloaded in JSON, CSV or XML format.
Tips: The website test supports both pass mode and login mode.
Passenger mode: support every 50 seconds API test speed, such as the test speed has further requirements, please log in after the test.
Login mode: Supports API test speed every 5 seconds.
S4: Customers can access the API directly through a browser or program directly through the copy link to quickly get data.
Tips: The user can log in to use the copy link function.
Showing how to successfully complete the WeChat public i article through iData
<?php
$method = "GET";
$url = "http://<API区域域名>/mobileapp/mobile360?kw=腾讯&apikey=<您自己的apikey>";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
var_dump(curl_exec($curl));
?>
import urllib, urllib2, sys
url = "http://<API区域域名>/mobileapp/mobile360?kw=腾讯&apikey=<您自己的apikey>";
request = urllib2.Request(url)
response = urllib2.urlopen(request)
content = response.read()
if (content):
print(content)
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
public class Example {
private static String readAll(Reader rd) throws IOException {
StringBuilder sb = new StringBuilder();
int cp;
while ((cp = rd.read()) != -1) {
sb.append((char) cp);
}
return sb.toString();
}
public static JSONObject readJsonFromUrl(String url) throws IOException, JSONException {
InputStream instream = new URL(url).openStream();
try {
BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
String jsonText = readAll(rd);
JSONObject json = new JSONObject(jsonText);
return json;
} finally {
instream.close();
}
}
public static void main(String[] args) throws IOException, JSONException {
String url = "http://<API区域域名>/mobileapp/mobile360?kw=腾讯&apikey=<您自己的apikey>";
JSONObject json = readJsonFromUrl(url);
Object retcode = json.get("retcode");
if (retcode != null) {
if (retcode.equals("000000")) { //返回状态码"000000"表示正常
System.out.println(json.toString()); //接口返回正常 打印数据内容
} else { // 其它返回状态码,表示无法继续
System.out.println(json.getString("message")); //打印状态信息
}
}
}
}
The real name authentication supports the authentication mode of "enterprise authentication" and "personal authentication". Users can choose the authentication method according to their own situation. The following will be introduced to the enterprise certification, personal authentication two certification methods.
S1: Please visit the iData home page and click the "User Center" button in the upper right corner of the page to enter the user center.
S2: Click the navigation bar "My Certification".
S3: Enter the authentication interface and click Enterprise Authentication.
S4: Fill in the information according to the instructions, fill in and click "submit certification".
S5: Personal certification Please follow the prompts to fill in the certification information, fill in and confirm the correct click "submit certification"
S5: After submitting the certification information, we will verify your certification information as soon as possible. Please be patient.
S1: Please visit the iData home page and click the "User Center" button in the upper right corner of the page to enter the user center.
S2: Click "Account Settings" on the left navigation bar.
S3: enter the basic information page, you can view the modified picture, user name, mailbox and other information.
S1: Please visit the iData home page and click the "User Center" button in the upper right corner of the page to enter the user center.
S2: Click on the left navigation bar "Account recharge".
Account upgrade is currently available: STA-UP (20 times/ min), VIP1 (3 times/sec), VIP2 (5 times / sec), VIP3 (8 times / sec), VIP4 (10 times / sec) to choose from, if you need enterprise-level cooperation, please contact us alone.
S1: Please visit the iData home page and click the "User Center" button in the upper right corner of the page to enter the user center.
S3: Enter the upgrade interface, you can upgrade the account.
Customers through the real name authentication, through the user center -> electronic contract online application for electronic contracts.
S1: Please visit the iData home page and click the "User Center" button in the upper right corner of the page to enter the user center.
S2: Click on the left side of the navigation bar "electronic contract" to apply for an electronic contract here.
iData cooperates with Dainan Times Technology Co., Ltd. to jointly develop the electronic contract online application module. Each successful electronic contract is handled by judicial certificate, which has the legal effect approved by China.
Customers online through the user center -> ask for invoices online invoice, apply for invoices to meet two conditions at the same time:
(1) To meet the total amount of merged orders of not less than 500 yuan.
(2) Customer account has been certified by real name.
After the application, usually invoice will be sent within 30 working days, the specific time to pay attention to the station information.
S1: Please visit the iData home page and click the "User Center" button in the upper right corner of the page to enter the user center.
S2: Click on the left side of the navigation bar "ask for an invoice" to apply for invoices here, manage invoices.
S3: Invoice application
Step one:
Step two:
状态码(RetCode) | 代表信息(Description) | 详细描述(Detail) | 是否收费(Charge?) |
000000 | Sucess | 请求成功 | 是(Yes) |
100002 | Search no result | 目标参数搜索没结果 | 是(Yes) |
100301 | Account not found | 用户帐号不存在 | 是(Yes) |
100000 | Server internal error | 服务器内部错误 | 否(No) |
100001 | Network error | 网络错误 | 否(No) |
100004 | Target server error | 目标服务器错误 | 否(No) |
100005 | Param error | 用户输入参数错误 | 否(No) |
100700 | Invalid authentication credentials | 授权失败 | 否(No) |
100701 | API stopped | 您的当前API已停用 | 否(No) |
100702 | Account stopped | 您的账户已停用 | 否(No) |
100703 | API rate limit exceeded | 并发已达上限 | 否(No) |
100704 | API maintenance | API维护中 | 否(No) |
100705 | API not found with these values | API不存在 | 否(No) |
100706 | Please add api first | 请先添加api | 否(No) |
100707 | Number of calls exceeded | 调用次数超限 | 否(No) |
100802 | Missing url param 'time' or uri path is not equal to 2 | 请求路径错误或者缺少"time"参数 | 否(No) |
100803 | Wrong pageToken | 参数pageToken有误 | 否(No) |