Why `search.web` YQL table doesn't work anymore? - yql

When I'm using search.web YQL table, I always get the error:
No definition found for Table search.web
in my YQL statements. Even when using SELECT url FROM search.web(0,10) WHERE query="stackoverflow" for example.
So I am assuming Yahoo discontinued search.web or BOSS? What are the alternatives? Is there still a similar way to crawl the web?

We can read in YQL Blog:
We’ve removed all search tables that relied on the BOSS v1 API (search.web, search.image, and search.news) as the aforementioned BOSS v1 no longer exists as of today (http://www.ysearchblog.com/2011/06/30/you-asked-for-this-boss-v2-updates/).
For those of you relying on those tables please consider using the community BOSS v2 table (https://github.com/yql/yql-tables/blob/master/boss/boss.search.xml).
Thanks -YQL Team
Source: Search tables and BOSS v1 in YQL Blog.
As a result, you should move to another search service like Y! BOSS v2. As mentioned above there are already open data tables for that, and an example query would look like:
SELECT * FROM boss.search WHERE query="stackoverflow"
AND ck="your oauth consumer key"
AND secret="your oauth secret"
Another alternative is to use Bing search:
SELECT * FROM microsoft.bing.web WHERE query="stackoverflow"

BOSS v1 API has been depreciated (as in YQL Blog), so you should use BOSS v2 API which works exactly the same, but the table is called boss.search and it's available in Yahoo YQL Dev Console (just activate Show Community Tables or check at GitHub).
To use BOSS v2 API, you need to have your own Consumer Key and Consumer Secret which can be generated at Yahoo Dev Apps by creating a new app.
Sample usage:
select * from boss.search where q = "sam pullara" AND (ck = 'ConsumerKey') AND (secret = 'SECRET');

Related

Google ads api list all accounts and their campaigns

I am totally new to google ads, I have a google ads account setup. I have a customer id (which I believe is the parent account id), under this I have a lot of 'Accounts' (url: ads.google.com/aw/accounts) setup. Every account have a list of campaigns. I want to prepare a report to fetch all campaigns and there settings. I am using postman to hit google apis (googleads.googleapis.com/v8).
I want to know what apis I can use to list all customer accounts and their campaigns?
Using the rest API for this sort of operation is not advised. It's expensive and there's an extremely tight limit.
It's advised to use the gRPC client libraries as they use search operations. You can learn more here: https://developers.google.com/google-ads/api/docs/start
Each of the client libraries has a robust set of examples and sample code that demonstrates exactly what you're trying to achieve (called list_accessible_accounts or similar). If you let me know what language you're using I can point you to the correct one.

Is there any way to get the list of joined teams details of members?

Is there any way to get the list of joined teams details of members except graph API? Using graph API of below link we can get the list of joined teams details of any members. Similarly, is there any other way to get the list of joined MS teams group details? I want to use these details in Microsoft bot framework.
https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0&tabs=csharp
Due to some security concern I can not use graph API as of now.
I am also exploring below link but I am not getting anything here... Looking for any REST API like graph API where I can provide the users name and I can get details.
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=dotnet
It's not a security concern, rather it's part of the requirement. If i am in your place, i would set Graph API as prerequisite for my app to work, explain the benefits that you're going to get with Graph/application permissions. Apart from Microsoft Graph API you can try with Powershell, CLI.

Microsoft Graph | combining both search and filtering on one API call

I am working on integrating MS Graph inside my application and one scenario I have to list files from OneDrive with search, filtering and sorting functionality but the API listed on the official docs doesn't work
Currently I am calling 3 APIs to make search, filtering and sorting work together.
Note: when I tried the API listed on the official docs I got this error
I think that Microsoft Graph API doesn't support filtering on files or folder directly.
Try to use the Onedrive Rest Api like this
GET: drive/root/children?filter=folder+ne+null

Is yql Bing search or BOSS search v2 still valid?

I'm trying to do large amount of search queries automatically, and YQL has very attractive limitation settings. However, when I was following this post, hoping I could use YQL Bing Search or BOSS v2, through both YQL Console and url, both told me no defination of the tables...
But I found yql-tables here, which includes Bing search and BOSS search and many other tables that cannot be found through YQl Console Show Tables
The tutorials about YQL I have found are all majorly happened in 2011, that's many years ago...
So, I'm wondering, whether tables here are still valid? If so, do you know how can I use microsoft.bing.web or boss.search to get the query results?
... that cannot be found through YQl Console Show Tables
Be sure to enable "Show Community Tables" (on the left of the page, above the tables list) as shown below.

How do I get all financial records related to a job using IPP v2

My company wants to integrate our app with Quickbooks using IPP v2 API. We would like to retrieve all financial records related to a job. I have been playing around with the API using the API explorer. I see that I have to retrieve the data separately using entities like Bill, Invoice, Journal, etc. However, I didn't seem to find a way to filter the data returned in those entities by job.
Currently, I have to query the entire Bill table for example and to look for JobId under ReimbursableInfo myself. It's not feasible since I have to do the same thing for other tables.
Am I missing something from here?
In docs, JobID is not mentioned as a filterable attribute.
Ref - https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0600_object_reference/bill#Retrieving_Bills_Using_a_Query_Filter
You need to do client side filtering.
For Invoice, you can use JobIdSet attribute.
Ref - https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0600_object_reference/invoice
Thanks

Resources