How to access Kindle Highlights (API?) [closed] - highlight

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to make a site that lets you follow other people Kindle Highlights. Is this possible Is there some sort of Kindle Highlights API?
Thanks.

This would be an amazing web service. Amazon does not offer an API for this. You can read public highlights online at kindle.amazon.com, however, you cannot integrate any public highlights into your apps via an API yet. It seems that the new Kindle Developers Kit is purely for creating apps on the Kindle, and there is not even an API method for accessing public highlights in this kdk.

Shameless plug alert..
I've written a small PHP class that can help with this: Kindle_Highlights
You can get it on github.
Comments/suggestions welcome on improving it.
I will be improving/expanding this over the next few weeks, but as is you should be able to get at your kindle highlights.

A user can see their highlights on the web after logging in by going to their "your highlights" page. As far as I know, there isn't an API, nor is there any sort of OAUTH thing that you could do so currently the best possible solution would be to get your user's amazon username/password and scrape them from that page.
It's better than nothing, but a real API would open up a lot of cool ideas that I've had on kindle highlights.

You can always just scrape the book's page at kindle.amazon.com. I wrote a script in js to do this and then packaged it up as a Chrome plugin that lights up when on Kindle book page, but (of course) Amazon just updated the DOM a week or two ago and now it needs to be updated to reflect the new semantic structure. This highlights the weakness of this approach. =\
Hopefully someday Amazon will provide us with an API, though I suspect that this might run against their agreements with publishers.

Related

Is there an API to access iOS App Store data? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am currently working on a school project and was wondering if there is an API to fetch data such as the current official top ten games from the iOS app store? I know there are websites like sensor tower where I could maybe extract data from, but I was hoping to find an API that accesses the apple store data directly rather than going through a 3rd party website. So far I've not had much luck!
Does anyone have any ideas?
Many thanks in advance!
Apple didn't launch any official APIs for accessing the App Store data.
Find below the APIs that are available right now,
1- iTunes Search API, It is for iTunes Store and Apple Books Store.
https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/
2- App Store Connect API, It's concerning with apps that added to App Store Connect only.
https://developer.apple.com/documentation/appstoreconnectapi/testflight/apps
And Check the following similar question as well,
https://apple.stackexchange.com/questions/347123/appstore-api-for-search-and-download
It depends on how you define "Top Games", for example:
by downloads?
by position on Top Charts?
by average ratings and/or number of ratings?
and in what countries or categories?
The easiest way would be to use a third-party API that pre-packages all those insights, for example you could use this Advanced Query API to search for "games only" and sort by "position on Top Charts". You find several examples in the section "Example Queries".
As you might notice, that endpoint expects a POST request, so make sure you enclose your payload (e.g. JSON-formatted search parameters) in the body of the request message. If you use PHP this other post gives you a good example on how to do it: How do I send a POST request with PHP?
Hope this was helpful! If you have any questions, feel free to get in touch.
(Disclaimer: I am the CEO and co-founder of 42matters.)
The best API for accessing Android and iTunes App Store data is https://www.appmonsta.com. They were recently acquired by MightySignal.

Which API to use for realtime document collaboration [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am currently building a virtual classroom website and so far I have successfully added webcam & audio functionality.
The next thing that is on my list is to add realtime document collaboration.
So how this would work is:
Two people join a private session
These two people have a shared document that they can both edit and changes are displayed in realtime to the other user.
An example of this would be google docs where you can be multiple people on one document.
Anyway, I have seen a few APIs that do this, for example I have looked into google docs api, but it requires you to have a google account which is not optimal. (Registering both on my website and on google docs can be a hassle or too much work for some people).
I have also looked into Zoho, but I am unsure if it can fill my needs.
Does anyone of you know an API that can do this? Preferably both document and sheets(excel looking).
Thanks!
The Google Realtime API is especially well-suited for document collaboration, but it sounds like it's not a good fit. There are a few other options out there:
ShareDB is an open-source realtime database backend, used in the DerbyJS framework.
Mozilla's TogetherJS provides view-level collaboration features.
Convergence (disclaimer: I am a founder) is a new hosted platform providing APIs for this sort of functionality. We have identified the most common pain points when implementing realtime collaboration features, and provide high-level APIs to solve them.
Multiplayer is concurrent editing database, it looks like it is based on Operation Transforms and they are planning to launch on Kickstarter. Looks like it can do exactly what you need, and they use Websockets to send changes in real-time.

Replacement for Google Code Search? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Google Code Search has been incredibly valuable to me as a developer - I use it a couple times a week to see how other developers have used (usually poorly documented) APIs. It's also convenient to see the internals of some of those APIs, or to find which API corresponds to the functionality you want (it's a great resource for Android in particular -- give it some of the text you see on screen, and it'll usually find the implementing class).
Now that Google shutting down code search as of January 15, 2012, are there any good replacements?
I have reviewed the following sites
The good
Krugle
searchcode
The broken or unsuitable
Antepedia (site is only a "We'll be back soon" page because Antepedia has been acquired)
The dead
Koders (discontinued)
SymbolHound Code Search
GrepCode (only Java)
SymbolHound (generic search engine, not just code)
Codefetch (unreachable as of 2016-08-23)
Codase (discontinued)
When I originally did the review, Koders turned out to be the winner for my purposes, but I really liked the user interface and features of SymbolHound Code Search better. The only problem with SymbolHound was the small number of sites it has indexed. The search[code] engine was also promising at that time.
Many of the sites I've reviewed have since been discontinued completely or have disabled their code search functionality. Krugle and search[code] seem to be chugging along, and GrepCode is good if you live in the Java world.
Take a look at these:
searchcode
krugle
Another one to consider is http://searchcode.com/ It supports regex search as Google Code search does. For example,
http://searchco.de/?q=/[cb]at/
http://searchco.de/?q=/a{2,3}/
http://searchco.de/?q=/^import/
http://searchco.de/?q=/atoi/%20ext:c
http://searchco.de/?q=/dll$/
Are all valid searches.
There is http://opensearch.krugle.org

How do I backup the followers of a user on Twitter? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need to download all the followers of a user on Twitter, then download all the followers of each follower (second level network).
I need the data in any format.
Is it possibile? What would you use?
There is a twitter module for python for example. You will need to register an appliction and to use oAuth. Bad news: also if you prefere something else than python, you will have to use OAuth. Good news: to use the twitter module in order to get information is quite simple afterwards.
Update: You can also use supertweet.net if you don't want to mess around with OAuth!
You can use www.TWEXLIST.com. A a recent solution to export any Twitter list (public or private), followers list, followings list of any Twitter account (yours or any others) in an Excel spreadsheet.
Some years ago I used Tweetake website to backup my Twitter data but it was closed (https://twitter.com/NikkiPilkington/status/270080732582522880). Since then I realized that it is not good to rely on a third party website and it is better to have a "do it yourself" solution. So I created a script that everybody will be able to use in their browser.
The script allows you to backup Twitter favorites, following and followers: https://gist.github.com/baptx/1525f338d93fa01db4e0
It is written in JavaScript and will create a textarea element with your backup data that you can copy/paste in a file.
You can run it in a browser console on a local web page like Firefox's about: or a web page like https://duckduckgo.com/html (in the past I used it directly on https://api.twitter.com/1.1 web page but it's not working any more because they added Content Security Policy).
Before using the script, you need to get your access keys to use Twitter API 1.1: https://dev.twitter.com/oauth/overview/application-owner-access-tokens
You can use https://www.followers-backup.com/web to download the list of followers/following (first level network) of any profile you want and it's free. Give it a try

Car make model dropdown web service [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I once found a slick looking car make/model dropdown menu web service that advertised form helpers for Ruby on Rails, have subsequently been unable to find this again by Googling for it.... Anybody know the service I am talking about?
Edmunds provides this data for free through an API. You just have to sign-up to get an API key.
See documentation here:
http://developer.edmunds.com/api-documentation/vehicle/
Sign-up to get a key here: http://developer.edmunds.com/index.html
One example of making the call (many more examples given on their site):
https://api.edmunds.com/api/vehicle/v2/makes?fmt=json&api_key={your API key}
I was looking for exactly this kind of information for motorcycles. From what I can tell the API does not provide motorcycle data, but it seems to have just about everything for cars - Make, Model, Year, Trim, Style, even Maintenance Schedules.
With the json or xml data, you will have to roll your own drop down menus. Edmunds does provide some premade widgets, but they are pretty specific (e.g. return True Market Value), so there is a good chance they won't have exactly what you need.
http://developer.edmunds.com/widgets_and_apps/index.html
It doesn't include form helpers or anything, but here's a Ruby implementation that uses the KBB database to retrieve make/model info:
http://tektastic.com/2008/03/car-or-auto-make-model-year-database.html
I'd probably cron this outside of the app and update the db from time to time, then use collection_select in the app to construct the dropdowns as normal. You could also adapt it to use ActiveResource for live retrieval, but that seems excessive and perhaps bannable by KBB.

Resources