Get Page Views via Hubspot API - hubspot

My Data Science team is trying to pull Hubspot info into their data visualization platform via Hubspot's API.
They're telling me that they can't find the information fora contact's pageview anywhere. I've searched the documentation for the API, contacted Hubspot Support (who told me they can't help with the API), and spent hours googling but I can't find any information on this.
Does the API simply not provide that information? I know it's collected, because I can see page views in a specific contact's timeline...so why can't I access it via API?
Has anyone overcome this challenge in the past or does anyone have any advice?
I should mention that I'm about 10% literate when it comes to anything code related...so I could just be missing something.

Assuming you are using PHP in your API, then you should be able to find the number of page views here:
$objHubSpot->properties->hs_analytics_num_page_views->value
(where $objHubSpot is the name of the HubSpot object returned through API)
If you want to know the actual URL of the visited pages, then keep in mind that HubSpot only keeps a record of the last few URLs.

Related

Is there any way to post updates in a business location using google's business api?

As the title says, I'm trying to find a way to post these updates (see picture below) using google's API, I can't find anything about it. I have checked google's business API documentation and most of it's endpoints are deprecated.
At the top of the page there is a deprecation schedule: https://developers.google.com/my-business/content/sunset-dates
There you can find the new API-Endpoint. I'm also looking for a solution to update opening hours, but it's not that easy to find any information. Even bing is better documented.

The steam API 2020

I'm looking to make a hobbie website using the steam API, mostly focusing on the actual products and not really any user info. According to an article by the man behind Steamspy, Valve decided to change their API sometime in 2018, removing a lot of relevant data related to the store.
I went through the steamworks documentation and the closest thing to any specific information about the applications/games were in:
https://partner.steamgames.com/doc/webapi/ISteamApps -
I figured their API must offer more than just a list of all the apps and their ID's, but thus far I have only found some other API:s.
https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
Seems to be popular in a lot of threads
https://steamapi.xpaw.me/#ISteamApps
Some kind of collection of APIs?
https://github.com/Autarc/steam-store/blob/master/README.md
Not sure if this is still usable?
https://steamspy.com/api.php
Question: If I want the name, ID, genre/tags and picture of a game (and potentially price), is really the only way to use these non-valve related API:s? Or have I missed something in Valves own API documentation?
I'm super new to API:s so please forgive my insolence, I did search a ton of threads but seeing as the API changed I'm not sure which answers still are up to date in 2020.
The storefront API is still up-to-date and should give you what you need, mostly.
There is no API for game tags. You have to get the directly from the store pages or from any of the third party API providers if they have them.
Question: If I want the name, ID, genre/tags and picture of a game (and potentially price), is really the only way to use these non-valve related API:s? Or have I missed something in Valves own API documentation?
No, you have not missed anything. Yes you need to use unoffical APIs. Compared to other gaming stores you still get more data on Steam than anywhere else.
I am afraid the last answer is not fully true.
You can get tags as categories or genres through api eg.https://store.steampowered.com/api/appdetails/?appids=306480

How to get description for Google API nearbysearch items

I am developing a web app for client requirement in that i am using Google API for finding nearby place
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=.....
I was able to get all the required details. Name, rating, etc but only description is missing. will i be able to get it from anywhere, i tried
https://maps.googleapis.com/maps/api/place/textsearch/json?query=...
but not getting required result only country or place is getting here not restaurant or venue description. Please help me to get details for each item in nearby search result. Or any other suggestions
Based on the documentation of both Google Places API Nearby Search Requests and Google Places API Text Search Requests, description property is not included in the returned results. You could rather file for a Feature Request to include description to each returned places in the results here at Google Public Issue Tracker.
Issue Tracker is a tool used internally at Google to track bugs and
feature requests during product development. It is available outside
of Google for use by external public and partner users who need to
collaborate with Google teams on specific projects.
You can learn more about Issue Tracker through this link.
I would also like to suggest to read Google Places API Place Details. It returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews.
Hope this help!

instagram retrieve hashtag images - update June 1

I am aware of the update to Instagram apis. I have read through the documentation regarding fetching hashtag images. I'm confused regarding 2 points -
They have a section "Endpoints", which gives the url for fetching images using tags - https://api.instagram.com/v1/tags/{tag-name}?access_token=ACCESS-TOKEN
At the same time, when i try to submit for review (under Permissions Review section), in order to get access token, i get this message -
"This use case is not supported. We do not approve the public_content permission for one-off projects such as displaying hashtag based content on your website. As alternative solution, you can show your own Instagram content, or find a company that offers this type of service (content discover, moderation, and display)."
The 2nd point makes me believe that Instagram has stopped sharing hashtag images to apis, at the same time i can find a lot of widgets still fetching hashtag images. How do they do that? Can anyone point me in the right direction?
The 2nd point makes me believe that Instagram has stopped sharing hashtag images to apis,
Correct. Instagram has made business decision to block most developers from accessing this content.
at the same time i can find a lot of widgets still fetching hashtag images.
This doesn't tell you much. They might have gotten their app approved for other purposes. Also it appears that Instagram has made some exceptions for big apps (like Tinder). Life is not fair.
How do they do that? Can anyone point me in the right direction?
You probably cannot. 99% of the use cases are not allowed and so they will reject your app if you try to submit it. Read this short article about what you can and cannot do with the new Instagram API
The other widgets you are talking about probably have presented Instagram with one of the valid use cases to fetch the data. They are able to get only the public content. This new restriction is probably a business decision. If you would still want to get the data you are looking for, you shopuld possibly go to a third party data provider who sell such data

Alternative to the deprecated google REST web search API

I have been using the Google Websearch API for over 1 year now. The service was deprecated in Nov 2010 but continues to provide results to date. More recently, google has started to enforce the 1,000 queries (?) per day limit on this deprecated service. I swear, last month I made over 10,000 API calls in one day without any errors from the service (same IP, same API key).
So I guess my question is has anyone found an alternative yet? I know yahoo boss is pretty good but I am working exclusively on Google for my projects. I do not mind spending money for for this service either as long as i can get 64 results from Google.
On that thought, how are services like Zoomrank able to bypass all Google limits? I have a subscription with Zoomrank and I can get daily rankings for all my keywords. Do they have a tie-up with Google or are they just accessing some secret service I don't know about.
Some people have suggested the new Google custom search, but i dont know how does that help me search the web? Google CS is limited to the CSE you create and searches within those engines. If I am looking for web results for Pizza, Google CS doesnt help me.
Thanks for your input. Much appreciated
UPDATE: #ggez44 points to some official Google documentation of the solution described below here: http://support.google.com/customsearch/bin/answer.py?hl=en&answer=1210656
You can use the Google Custom Search Engine to search the entire web.
In brief:
Create a CSE that searches a single site (e.g. google.com)
In the CSE control panel's Basics section, set to "Search the entire web but emphasize certain sites"
In the Sites section, delete the single site that you added when you created the CSE
Full details here:
http://www.google.com/support/forum/p/customsearch/thread?tid=56c0bd92dda351b7&hl=en&fid=56c0bd92dda351b7000495e3f500d83f
Once that's implemented, you can enable billing in the Google API Console at a CPM of $5, to a total of 10,000 queries.
Google API Console: https://code.google.com/apis/console/
Pricing: https://code.google.com/apis/customsearch/v1/overview.html#Pricing