Eventbrite API - event_search - finding best matches - api

i've noticed that for certain keywords, the Eventbrite website shows relevant events, but the API returns a lot of irrelevant events.
some examples are: "arts", "health", "auction"
the results shown on the website all have the keywords appearing in the Title/Name of the event, however the API returns events as long as the keywords are in the title and/or description.
MY QUESTION IS: how do I use the API to only get back events which have the keyword appearing in the title?
I'm trying to get the best matching events.

event_search currently does a full-text search over the title and description fields.
Eventbrite is currently working on connecting their event_search interface to the same back-end that powers their web-based directory service
I'm sure they'll make an announcement via #EventbriteAPI when it's ready.

Related

How to get localized game news from Steam Web API?

The Steam Web API has an ISteamNews interface with a GetNewsForApp method that returns the latest game announcements, example request
GET http://api.steampowered.com/ISteamNews/GetNewsForApp/v0002/?appid=570&count=3&maxlength=0&format=json&feeds=steam_community_announcements
And everything works fine, but the news are only in English, and I can't find how to change it.
Some methods have an optional l= parameter, but it does not work for news, although the steam client displays localized news and, according to the documentation, there is full support for localizations.
I'm fairly certain the documentation you're linking is for publishing a news event for Steam partners/developers.
When running the SupportedAPIList call from this documentation: Steam Web API News Documentation
These are the parameters the API currently accepts for non-publishers/devs without an API Key:
{"name":"GetNewsForApp","version":2,"httpmethod":"GET","parameters":
{"name":"appid","type":"uint32","optional":false,"description":"AppID to retrieve news for"}
{"name":"maxlength","type":"uint32","optional":true,"description":"Maximum length for the content to return, if this is 0 the full content is returned, if it's less then a blurb is generated to fit."}
{"name":"enddate","type":"uint32","optional":true,"description":"Retrieve posts earlier than this date (unix epoch timestamp)"}
{"name":"count","type":"uint32","optional":true,"description":"# of posts to retrieve (default 20)"}
{"name":"feeds","type":"string","optional":true,"description":"Comma-separated list of feed names to return news for"}
{"name":"tags","type":"string","optional":true,"description":"Comma-separated list of tags to filter by (e.g. 'patchnodes')"}]}]}
You will have to play around with these parameters to filter the proper responses. Just remember that the Steam API allows only 100,000 requests within a 24 hour period or your IP/API key may be subject to ban or withdrawal. Unfortunately at this time I have been unable to locate what sorts of queries the parameters feeds and tags accept.
Goodluck

Get cryptocurrency twitter, website, and markets from coinmarketcap.com api

I am trying to get the twitter name, website, and markets for any cryptocurrency listed on coinmarketcap.
For example:
https://coinmarketcap.com/currencies/bitcoin shows all of the data that I need but how would I parse the data listed on that page to get the twitter name and website associated with bitcoin?
Don't try to parse the data on that page if you are trying to use it in an application. If you are doing it for a one time data collection then maybe that is OK. There is absolutely no guarantee that the format will remain consistent or that the information will even be there tomorrow.
You should try to find an API that gives you the information that you are looking for. An API is a contract that is expected to be honored and therefore is reliable. A quick look at CoinMarketCap's API doesn't appear to have the info you are looking for but maybe another one exists that does.
If you were to parse the HTML you could write a regex for the specific thing you are looking for. For example if you want to get the website you could write a regex that would pick up the pattern:
Website
the capture group ([^"]+) is the website in this example. You could do something like that for every element you want to get.

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.

Facebook Event - guest list & posting settings

I'm trying to add a "create Facebook event" functionality to my application that uses Graph API. I have read their documentation and I am able to create an event with basic informations, like name, description, time, place etc.
However, the documentation doesn't mention two fields I'm especially interested in: Show the guest list on the event page and Non-admins can write on the wall.
I have investigated the data sent to Facebook while creating new event on site and it seems like these two fields are named respectively guest_list and connections_can_post. Unfortunately, adding these two fields to my request has no effect. I have tried different combinations, but they seem to be ignored.
Is it possible to set those two fields through API?
I don't believe either of those fields can currently be set via the API

Can one cx or cref ID be used to call Google custom search across multiple API keys?

I'm investigating the Google custom search API and I'm a bit confused about how to go about it.
I've been scraping google.com?q=my+search+phrase in my app and it works great. However, I want to use the custom API to stay compliant with Google TOS, so I'm looking to port my app to the custom search API.
Assuming that my app will ship commercially, and the end user will be required to obtain an API key themselves (which the app will feed in as a variable before doing an ajax/rest data call), is there a general cx or cref ID that can be used across all API clients?
Or, does each client have to obtain their own unique cx or cref ID as well?
I want to make it as simple as possible on the end user. All these IDs and APIs will become an issue for less technical users.
The sole purpose of my app is to pull the top 10 organic URLs for any given search.
CS is unique id, see http://code.google.com/apis/customsearch/v1/using_rest.html#cx
You can find it at your customer search control panel, right above "save changes" button.