What are guides?

HI, can you tell me what the connector key, user pointer and api key are below the specified code and how to get them for any website?

<pre> <?php $userGuid = "8f65f01f-c6bc-42a4-914d-879efd159abd"; $apiKey = "private"; // Issues a query request to import.io function query($connectorGuid, $input, $userGuid, $apiKey) { $url = "https://query.import.io/store/connector/" . $connectorGuid . "/_query?_user=" . urlencode($userGuid) . "&_apikey=" . urlencode($apiKey); $ch = curl_init($url); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "Content-Type: application/json", "import-io-client: import.io PHP client", "import-io-client-version: 2.0.0" )); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array("input" => $input))); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); $result = curl_exec($ch); curl_close($ch); return json_decode($result); } // Query for tile Curs Banca Comerciala Feroviara $result = query("7d00ba0e-947c-403f-b33b-886a7ee2a300", array( "webpage/url" => "http://www.bfer.ro/ro/curs-valutar/", ), $userGuid, $apiKey, false); var_dump($result); ?> 

+5
source share
2 answers
  • User-guid is your unique import.io user id. You can see it on the settings page page .
  • Connector-guid - a unique identifier for each connector as a whole, it can be a connector, finder, extractor. It is automatically issued for each api connector. You can get it for every part of the api. See the data page. The following is an example of a tracked device with a guide connector (in a white box): enter image description here
  • The API key is your unique key for all your api. It is renewable (you can create a new one). Just enter your account page , go to the API key line and enter your password to unlock the api key. Read more here how to get the api key. account page with api Unlocked api key: Unlocked api key
+8
source

Not sure, but here's what I think. I think connectorGuid is a random key used to create a link to the web api.
ApiKey is obviously the api key.
userGuid again is the identification of entries. All web apis are not the same, so you cannot get information about any websites.

0
source

All Articles