Why is the OneNote API lagging by roughly 3 days on my account? - onenote

In short, getting page information for my notes through the OneNote API has data that lags by about 3 days. Why is this the case (I assume only for me) and how can this be fixed?
I'm working on a personal R program to read my OneNote Notes. Got it up and running about a week ago. Authentication works fine and I can use GET requests to get information from the OneNote API. However, the information that is returned about my OneNote pages (using GET https://graph.microsoft.com/v1.0/me/onenote/pages) is about 3 days old. New notes from the past 3 days and changes made in the last 3 days are not reflected in this data. It is not frozen in time, i.e. checking tomorrow will give me information that is 3 days behind tomorrow. This is not solely an issue with my application, as the same behavior/results are produced through the Microsoft Graph Explorer. Does anyone have insight on how to fix this?

I can confirm this behavior is still true as of Jan. 30. Calls to get the pages of a section, or pages in general return indexes of very stale information. To test, delete or create a bunch of pages in your OneNote account, then call in the API Explorer:
GET https://graph.microsoft.com/v1.0/me/onenote/pages
You will be given information about deleted pages, and no new information for at least days after these changes have been made. If you follow the returned 'contentUrl' properties for deleted pages, the content does not exist.
It seems other endpoints in the OneNote API are not subject to this same problem. Adding/removing/updating sections, for example, results in immediate changes to the results from the API.

Sorry to hear that. Just to clarify, are you using your personal account or work account for auth?

Related

Behance API does not display all projects?

The issue specifically is that when I am trying to retrieve the data from my behance portfolio, I only get 7 projects. I uploaded approximately 30 projects and they are not being returned by the Behance API.
It is not showing all the projects that my account/user HAS. I simply want to get the covers of each project and display them. This works with other users such as Ilya Kuvshinov.
I am using localhost to test the API and only get 5 out of 28 projects.
Does the Behance API take a long time to update information? Is there a setting I need to have to get the API to show all projects?
Behance's API is limited to very low amount of requests (150 per hour) so maybe your problem is one of these two (i could help you out better if you shared some code with us):
Your entire projects need more than 150 calls
You have restricted projects that will not shown to an unauthorized user (like nudity projects with adult content)
To solve first problem you had to manage your API calls under 150 per hour, or simply contact to behance support team and share your problem with them. For second one you most change your API request to an authorized API request that's need to follow behance API documentation. Simple as that, kind regards

getting onenote api for page versions

i am looking for an api interface from Onenote to track my work. So lets say i have a shared pages with my friends A and B. Three of us are able to make modification and edition.
One day A made one new page and 10 minutes later B came and modified it. Thus for this page, we have 2 versions, A and then B.
So my question is whether there is an existing api to get the metadata, such as modified time and author, of individual versions?
Thanks in advance.
There isn't, unfortunately. I encourage you to enter this item in our uservoice site.
https://onenote.uservoice.com/forums/245490-onenote-developer-apis

Set expiration date in Google drive does not show in the API

We are working will Google's API and we were looking for a field for the new feature- Set an expiration date for file sharing (http://googleappsupdates.blogspot.com/2016/03/set-expiration-dates-for-access-to.html), but could not find anything in the json file.
Is this field documented? Are you going to add it in the future?
If not, can we ask for it? It will be a big help since this feature really mitigates sharing issues our customers may have.
First I would like to say that that only refers to the Google Drive website it doesn't say anything about the API. Second it was posed on Posted: 3/15/2016 and says Gradual rollout (2–3 months for feature visibility). Which means that at the earliest everyone will have it on June 15 2016. This is again on the website.
There is no mention of it in the documentation for the API so I think you will have to assume at least for now that this is a website only feature and not something that will be available in the API
I would add it as an feature request on the issue forum

How do I track users and installations on the Chrome Web Store?

I developed a Chrome extension called TabCarousel to help monitor information like our NewRelic graphs. After realizing other people might find it useful, I decided to open source it and then release it on the Chrome Web Store.
I'm really impressed with how easy it is to release code on the Web Store, but... even a couple days after the extension has been released, I still show " users" and " weekly installs" rather than something like "7 users" and "10 weekly installs". I know I've set my extension up on a few computers, and I've helped others set it up as well. A few friends have installed it too.
Why doesn't the Chrome Web Store show any users or installations? It's not showing any data at all -- that is, " users" instead of "0 users".
Am I just missing something? I've read through the FAQ, some blog posts, and even set up a Google Analytics account and entered it in the Developer Dashboard entry for my extension. I just want to get an idea of how many downloads I'm getting so I can gauge interest like I can on other projects.
This is actually a bug, and the team are in the process of preparing a fix and getting it pushed live. I don't have an exact ETA, but it should be pretty soon.
On another note, you can still use your Google Analytics accounts to detect traffic to your landing page and in your app. And if you look for the referrer chrome://newtab you will get a very good indication of all the users who are launching your app.
Just give it few days, they don't update counters in WebStore too often. Currently it doesn't show users for any extension submitted after June 15, and yours was submitted on June 19.

Get a users Xbox Achievements list?

Is there a way to get a user's achievements list from Xbox without dealing with screen scraping etc.?
How do sites like http://www.trueachievements.com do it? (they're definitely not screen scraping as they do not have my Live ID credentials...)
I know there's the Xbox LIVE Community Developer Program (XCDP) that provides some API but they do not provide achievements information as far as I can tell (links below)
http://duncanmackenzie.net/Blog/put-up-a-rest-api-for-xbox-gamertag-data
http://file-pasta.com/file/XML_Feeds.pdf
If you want this information you can check out my new site https://xboxapi.com.
Again if your profile is public then you can see friends, games and achievements. This has taken me over a year (on and off) to code and is now in public beta. To date it has served nearly 2,000 requests and growing. I am still working on optimising this script and it should only get better in time.
I currently have an API request limit setup for 120 requests per hour per IP.
Lets hope there are no major updates to xbox.com any time soon.
It says at the bottom of the TrueAchievements website that they are a member of the Xbox LIVE Community Developer Program. That leads me to believe that the XCDP does give information about achievements. Duncan Mackenzie's API for xbox worked for me for a little while, but then his web service seemed to go offline. Duncan also says that his web service will not be returning sadly. I can't get ahold of him to ask for release of his source code. I'm currently looking for another solution in retrieving the data. Unless I can get official access with XCDP, it looks like I'll have to do screen scraping. The screen scraping approach is not going to be pretty though. I'll let you know if I get any more information.
The current XCDP API does not give you any individual achievement information. At the moment the only way to get achievements is by page scraping and as of a couple months ago Microsoft has removed their non-JS log in form for xbox.com making it very difficult to log in. TA has found a way to get around this but he's trying to monopolize the scene and isn't willing to help others on this topic.
Even though TA does not have your LIVE credentials if your xbox.com page is public and if you give them your gamertag anyone can get your information by going to http://live.xbox.com/en-US/GameCenter?compareTo=GAMERTAGHERE
With the change the Microsoft has done they've also modified achievement icons. If you're looking at a friends profile and if you don't have the game or have unlocked the achievement the icon will be monochromatic even if it's unlocked by that person.