How to Query Wikivoyage Destinations - api

I am trying to get a JSON list of all destinations listed on Wikivoyage: https://en.wikivoyage.org/wiki/Destinations
I have tried using the wikivoyage API sandbox but I have been unable to identify how a "destination" is differentiated in the code.
I have searched the Wikivoyage API sandbox for a couple of days but I have not found any datapoint relating to destination. https://en.wikivoyage.org/wiki/Special:ApiSandbox
The closest thing I have found is that on the destinations page (https://en.wikivoyage.org/wiki/Destinations) a summary count of 31,721 is listed, which, when clicked on, appears to list all content pages(https://en.wikivoyage.org/wiki/Special:Statistics).
But I have yet to discover how to list all content pages via the API as this too seems not to be an internal datapoint against which one can filter.
I would be very appreciative of any help!

Related

Google AdWords Campaign doesn't show list of Products

I've searching this issue for about 2 days, so I'm really appreciate your help.
First, I create account at Google Merchants Center and linked it with my site.
The Product Feed is also works well ( I'm using prestashop, so the input methods is "E-Commerce platform imports".
As shown in image above, the status is successful.
After that, I create a campaign (max CPC and budget are already created), but here is the result:
Is there any step that I miss that caused the products doesn't listed?
first, the items, images, and website must adhere
to all google's rules and policies; individual items
that are searchable does not necessarily indicate
all is well -- always check the main dashboard, the
entire account, and email, for any messages from
google and check the site's log-files to help verify
that google has crawled the website and images.
yes, a feed may take 24-72 hours or so to be processed
and all items and images crawled -- before being seen
within the (linked) adwords campaign.
be certain the merchant-center account or sub-account is properly linked.
also, why is an inventory-filter being used?
generally, a filter is created to exclude items --
any items that do not match the filter (exactly)
will be excluded from the campaign.
check the feed file within a browser-window and individual items
within the products-tab to be certain that the items (attributes)
will be able to match the filter, exactly.
also, verify that the remaining products that do fit through the filter
are being included in the defined product-group within the (linked)
adwords-account, by clicking on 'view the full list of products' --
generally, only one campaign is needed but check any other shopping
campaigns and all other product-groups to be certain that the items
are not being filtered or matched elsewhere in the account.
otherwise, google should likely be contacted so that a person can
look directly into the data-feed, website, images, and both accounts.
After Days, I finally found it.
I've just aware that I made a mistake in "Attributes" the value of my site category doesn't being recognized by Google, so I have to create a new one based on the template from google itself.
After I re-fetch the feed, there are some changes happens. You can compare these below images with above images.
And finally... the products show up.

How to find only original tracks on soundcloud

I am using soundcloud API for a project but the problem is I get remix of the original songs or cover version, its okay if I get remix and cover version but is there any mechanism that the original one comes as first song in the search result ? I tried searching on Google and read the API documentation but found nothing in this context.
The track object in soundcloud's API actually has the track_type property which has possible values of 'original' and 'remix' among other things. Sadly like most valueable metadata the track object has, content providers neglect to fill the field. So unless content providers start putting more effort into filling in the metadata fields the only option you have is giving songs priority based on words in the title or tags.

DISQUS: Is it possible to get a particular user's posts in a given forum?

I am running a website, whose community is powered by Disqus. I would like to create user profile pages, where the page would display the particular user's most recent activity, but only for my particular site (forum, in Disqus' terminology).
I ran through the entire API documentation, but I could not find a way that would allow me to filter by both user, and forum. I would be able to grab either the entire list of posts for a given forum, or the one from a particular user.
In every API call, there is a mysterious query paramater, where I tried to plug a series of filters, but none of them worked.
Is there something that I could be missing?
It's not that obvious, but you can use the query param as a filter for users. Try something like this:
https://disqus.com/api/3.0/forums/listPosts.json?forum={SHORTNAME}&query=user:{USERNAME}&api_key={YOUR_API_KEY}

Specify items per page

I'm trying to query Picasa Web Albums to pull album/photo data (obviously!) however initially I only need to pull the first 4 photos. Is there any way to limit a particular field or specify the items per page?
I've already accomplished something similar with Facebook's Graph API however I'm unable to find anything similar for Picasa. The only items I can find related to limiting the response is specifying which fields, but nothing related to the number of rows.
Use max-results argument. See doc here.
https://developers.google.com/picasa-web/docs/2.0/reference#Parameters

Getting data from Google Spreadsheets

I quickly made a little form in Google Docs that lets people insert the most current attraction wait times at Disneyland and submit them to a Google Spreadsheet. I want to make a web page that will display the bottom, most recent row from that spreadsheet so the current wait time for each attraction is always displayed when someone visits the web page. Is there a possible way already to share and embed just the bottom row of data from the spreadsheet?
Hooray for google's api documentation section, although it's hard to sometimes find the right section... I've never done this before but it looks pretty straightforward
for list based feeds
see this: http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#ListFeeds
or for cell based feeds
see this: http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#CellFeeds