How to get oracle id for chainlink api call? - blockchain

I need to make API call over Polygon network. I did follow the tutorials and was trying to find the Job Id and oracle Id. I was able to find the job
https://market.link/jobs/56666c3e-534d-490f-8757-521928739291. However, I cannot find the Oracle Id after clicking on Node as mentioned in the docs. Where can I find it?

In the 'Job Spec' section, you can see the oracle address in the initiator part of the JSON spec. In the example above, it's 0x0a31078cd57d23bf9e8e8f1ba78356ca2090569e

Related

How to specify dataset location using BigQuery API v0.27?

I am trying to figure out how to specify the dataset location in a BigQuery API query using v0.27 of the BigQuery API.
I have a dataset located in northamerica-northeast1 and the BigQuery API is returning 404 errors since this is not the default multi-regional location "US."
I am using the run_async_query method to execute my queries but based on documentation am unsure how to add a location to this field to make it location aware.
I have also tried to previously update my client instantiation like this:
def _get_client(self):
bigquery.Client.SCOPE = (
'https://www.googleapis.com/auth/bigquery',
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/drive')
client = bigquery.Client.from_service_account_json(_KEY_FILE)
if self._params['bq_data_location'].strip():
client.location = self._params['bq_data_location']
return client
However, it does not appear that this is the correct way to inform the BigQuery API of a dataset location.
For additional context, in my SQL that I am passing to the BigQuery API, I am already specifying the PROJECT_ID.DATASET_ID.TABLE_ID, however, this does not seem to be sufficient to find regional data.
Furthermore, I am making this request from Google App Engine using the CRMint open source data flow platform.
Can you please help me with an example of how location can be added to the BigQuery API for v0.27 so that the API does not return 404?
Thank you!
From the code sample it seems you're likely talking about google-cloud-bigquery 0.27, which was released in Aug 2017 and predates location support (as well as many other features).
Your best bet is to update that dependency to something more recent.

How we acess System Note Search through PHP?

I have created a System Note Search which executes successfully. Now I'm trying to access this search results in php. I'm stuck with what type of object I use for implementing this search. Below is the code-
$service = new NetSuiteService();
$search = new needtoIdentify();
$search->savedSearchId = "897"; // SavedSearch ID.
Thanks in advance.
Unfortunately System Notes are not part of Netsuite Web Services Supported Records. You might need to work around this by using suitescript either to passthrough the data through a Suitelet/Restlet or a scheduled script that saves the results of the System Notes in the file cabinet so you can pick it up with WebServices.

First time protege user, trying to export a simple ontology to AWS dynamodb

I am currently using protege 5.0 and have created a very simple ontology (the pizza example). I was wondering how I would export this ontology to dynamodb on AWS. I was hoping someone could post a link to a good tutorial on protege 5.0 or walk me through this. Thanks!
If you are using dynamodb just to store the content of a file and to be able to access the file at a specific URL, then the process required is just the same as for any other file type you would store on dynamodb. The default way for Protege and most other OWL related tools to access an ontology is a simple HTTP get from a provided IRI.

Retrieve Used and New Items, detecting their condition - Amazon-MWS

We allready get a list of our Products through the Amazon MWS API, with the ReportTyp _GET_FLAT_FILE_OPEN_LISTINGS_DATA_.
Probelm we have is, that we cant see if the product is NEW or USED.
And i also dont know any report with whom i could do that.
Do you know any solution, which gives me the opportunity to detect, wether an SKU is listed under NEW or under USED?
Thanks in adcanve
I found the following way to go, for this problem.
You will need the Amazon MWS Product API with the ReportTyp GetMyPriceForSKU. There you will find the section condition and subCondition.

Amazon Product Advertising API: XXX is not a valid value for BrowseNodeId

I am using the Amazon product Advertising API to fetch the product categories. For US categories it is working.
But using browse nodes from different sites I get the following error:
"569604 is not a valid value for BrowseNodeId. Please change this value and retry your request."
I got the browse-nodes from the following site:
http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?BrowseNodeIDs.html
Where is the problem?
Thanks for your help!
This is an error that happens pretty regularly with the Products API, but not because the BrowseNodeId does not exist. Rather, the API intermittently craps out and returns this error. If you run it again, it will probably return the node correctly.
The way I have gotten around this limitation is to wrap the call in retry code.
Edit.
I tried running this BrowseNodeId, and indeed, it is invalid. The BrowseNodeIds change regularly, and because this is a german browse node you may not be able to access it from the US.
However, according to this, your BrowseNode (Electronics, DE) should be available in the US:
http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/APPNDX_SearchIndexValues.html
You can test browse nodes at this url:
http://www.amazon.com/exec/obidos/tg/browse/-/$N/
where $N is the browse node.