Google Custom search JSON API not returning all the results - json

I am using the Google custom search api for site -"yeskantipur.com". When I search for the term "site:yeskantipur.com Sony Xperia Sola" on Google search I get a lot of results. But with the API, I get only two results. The result in first position in normal search is not returned by Custom Search. Instead the second result is shown..
Here is the items of output json:
"items": [
{
"kind": "customsearch#result",
"title": "Virgin Mobile",
"htmlTitle": "Virgin Mobile",
"link": "http://www.yeskantipur.com/index.php?route=product/vendor&vendor_id=57",
"displayLink": "www.yeskantipur.com",
"snippet": "SONY XPERIA SOLA. GENERAL 2G Network G.. ... Also known as Sony Ericsson Xperia Nozomi, Sony Ericsson Arc HD .. 40000.00. Ex Tax: Rs.40,000.00 ...",
"htmlSnippet": "\u003cb\u003eSONY XPERIA SOLA\u003c/b\u003e. GENERAL 2G Network G.. \u003cb\u003e...\u003c/b\u003e Also known as Sony Ericsson \u003cbr\u003e Xperia Nozomi, Sony Ericsson Arc HD .. 40000.00. Ex Tax: Rs.40,000.00 \u003cb\u003e...\u003c/b\u003e",
"cacheId": "Zm5BwsKSGxcJ",
"formattedUrl": "www.yeskantipur.com/index.php?route=product/vendor...id...",
"htmlFormattedUrl": "www.yeskantipur.com/index.php?route=product/vendor...id...",
"pagemap": {
"cse_image": [
{
"src": "http://www.yeskantipur.com/image/cache/data/virgin/sony-x8-182x182.jpg"
}
],
"cse_thumbnail": [
{
"width": "145",
"height": "145",
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRh7wPGludHnxspronMl2eITUvTqYjUZ0-KSOgDsiVyvywyCVnYT09KpP8"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Sony Ericsson",
"htmlTitle": "\u003cb\u003eSony\u003c/b\u003e Ericsson",
"link": "http://www.yeskantipur.com/index.php?route=product/category&path=106",
"displayLink": "www.yeskantipur.com",
"snippet": "Sony Xperia Neo L. Also known as Sony MT25i. .. Rs.23,500.00. Ex Tax: Rs. 23,500.00. Add to Bag. Add to Wish List. Add to Compare. Sony Xperai Sola ...",
"htmlSnippet": "\u003cb\u003eSony Xperia\u003c/b\u003e Neo L. Also known as \u003cb\u003eSony\u003c/b\u003e MT25i. .. Rs.23,500.00. Ex Tax: Rs.\u003cbr\u003e 23,500.00. Add to Bag. Add to Wish List. Add to Compare. \u003cb\u003eSony\u003c/b\u003e Xperai \u003cb\u003eSola\u003c/b\u003e \u003cb\u003e...\u003c/b\u003e",
"cacheId": "k_N9tKXWitYJ",
"formattedUrl": "www.yeskantipur.com/index.php?route=product/category&path...",
"htmlFormattedUrl": "www.yeskantipur.com/index.php?route=product/category&path...",
"pagemap": {
"cse_image": [
{
"src": "http://www.yeskantipur.com/image/cache/data/ctv-mobile/1-180x180.jpg"
}
],
"cse_thumbnail": [
{
"width": "144",
"height": "144",
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRkJbvtpWJeEFS4E9sCXi-tvnFa-20T3YOzF6v6UDhDNYBpep1TWhoaSYMM"
}
]

Related

Accessing a nested JSON file in Flutter

I am trying to access the 'title' from the following list but it keeps throwing error.
var moviesDB = {
"genres": [
"Comedy",
"Fantasy",
"Crime",
"Drama",
"Music",
"Adventure",
"History",
"Thriller",
"Animation",
"Family",
"Mystery",
"Biography",
"Action",
"Film-Noir",
"Romance",
"Sci-Fi",
"War",
"Western",
"Horror",
"Musical",
"Sport"
],
"movies": [
{
"id": 1,
"title": "Beetlejuice",
"year": "1988",
"runtime": "92",
"genres": ["Comedy", "Fantasy"],
"director": "Tim Burton",
"actors": "Alec Baldwin, Geena Davis, Annie McEnroe, Maurice Page",
"plot":
"A couple of recently deceased ghosts contract the services of a \"bio-exorcist\" in order to remove the obnoxious new owners of their house.",
"posterUrl":
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTUwODE3MDE0MV5BMl5BanBnXkFtZTgwNTk1MjI4MzE#._V1_SX300.jpg"
},
{
"id": 2,
"title": "The Cotton Club",
"year": "1984",
"runtime": "127",
"genres": ["Crime", "Drama", "Music"],
"director": "Francis Ford Coppola",
"actors": "Richard Gere, Gregory Hines, Diane Lane, Lonette McKee",
"plot":
"The Cotton Club was a famous night club in Harlem. The story follows the people that visited the club, those that ran it, and is peppered with the Jazz music that made it so famous.",
"posterUrl":
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTU5ODAyNzA4OV5BMl5BanBnXkFtZTcwNzYwNTIzNA##._V1_SX300.jpg"
},
]
}
I can go as far as moviesDB["movies"][0] but cannot get the title property.
Although I can do the same in Javascript and it works with no errors.
console.log(moviesDB["movies"][0]["title"]);
Any solution for this?
You need to make a cast on the element of your movie list.
print((moviesDB['movies'][0] as Map<String, dynamic>)['title']);

How to sort a list of restaurant names by restaurant rating (possibly from Google Places or Yelp Fusion API)

I have a csv file with thousands of restaurant names and addresses that I need to sort by rating (data that is not in the csv). Is there a way to fill in the csv with this data? Possibly with Google Places API or Yelp Fusion API?
Both the Google Places API and Yelp Fusion API let you obtain a restaurant’s rating if you query with the business name and address. I’m going to explain how to do this but, first a caution about compliance. What you describe is clearly against the terms of service for both APIs. The only permitted use of their data is to display it on a publicly available website or app. Fetching and retaining it in a csv file is clearly improper. The APIs are intended for real-time query and immediate display of results for your users.
Google requires that the Places data be displayed in conjunction with a Google map or an approved "powered by Google" image. Additionally, no "pre-fetching, caching, or storage of content" is permitted. For details see https://developers.google.com/places/web-service/policies
Yelp requires attribution, basically requiring you to display the star rating and the Yelp logo with a link back to the business page on Yelp for the restaurant you have queried. See https://www.yelp.com/developers/display_requirements Furthermore, you can’t “cache, record, pre-fetch, or otherwise store any portion of the Yelp Content for a period longer than twenty-four (24) hours from receipt of the Yelp Content, or attempt or provide a means to execute any scraping or "bulk download" operations.” For full text and terms see https://www.yelp.com/developers/api_terms
With the legalese out of the way, here’s how to request a restaurant’s rating from Google Places:
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=Applebees,234 W 42nd St,New York,NY&inputtype=textquery&fields=formatted_address,name,rating&key=YOUR_API_KEY
And, the JSON response:
{
"candidates": [
{
"formatted_address": "234 W 42nd St, New York, NY 10036, USA",
"name": "Applebee's Grill + Bar",
"rating": 3.6
}
],
"status": "OK"
}
Here is the same request for Yelp Fusion. There is no way to request just the rating. Results always contain everything in their database for the restaurant:
https://api.yelp.com/v3/businesses/search?term=applebees&location=234 W 42nd St,New York,NY&limit=1
JSON response:
{
"businesses": [
{
"id": "gytFjzBw-z5LZD-6JSMChg",
"alias": "applebees-grill-bar-new-york-3",
"name": "Applebee's Grill + Bar",
"image_url": "https://s3-media1.fl.yelpcdn.com/bphoto/CLizyj9S7pMvwGNm2dgdiQ/o.jpg",
"is_closed": false,
"url": "https://www.yelp.com/biz/applebees-grill-bar-new-york-3?adjust_creative=pnOv3Zj2REsNDMU4Z3-SLg&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_search&utm_source=pnOv3Zj2REsNDMU4Z3-SLg",
"review_count": 444,
"categories": [
{
"alias": "tradamerican",
"title": "American (Traditional)"
},
{
"alias": "burgers",
"title": "Burgers"
},
{
"alias": "sportsbars",
"title": "Sports Bars"
}
],
"rating": 2,
"coordinates": {
"latitude": 40.756442,
"longitude": -73.988838
},
"transactions": [
"delivery",
"pickup"
],
"price": "$$",
"location": {
"address1": "234 W 42nd St",
"address2": "",
"address3": "",
"city": "New York",
"zip_code": "10036",
"country": "US",
"state": "NY",
"display_address": [
"234 W 42nd St",
"New York, NY 10036"
]
},
"phone": "+12123917414",
"display_phone": "(212) 391-7414",
"distance": 5.938732504864397
}
],
"total": 2900,
"region": {
"center": {
"longitude": -73.98880004882812,
"latitude": 40.75648701137637
}
}
}

AngularJS creating new table foreach result property

I don't know how to word this issue properly as English being my second language but essentially I am trying to create new table forEach results property in the array. Here is what my response from API looks like.
response.providerResults = [
"totalHits":49934,
"results":[
{
"title":"Apple Bans Cryptocurrency Mining on iPhone and iPad",
"summary":"Apple Bans Cryptocurrency Mining on iPhone and iPad\nIndo-Asian News ...Service\n, 12 June 2018\nThe iPhone maker Apple has introduced a...",
"sourceName":"SocialGist",
"url":"https://gadgets.ndtv.com/apps/news/apple-bans-cryptocurrency-mining-on-iphone-and-ipad-1866149",
"date":"201806121009",
"id":"12630772075",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Living with the BMW X2, Living with the BMW X2",
"summary":"... Apple CarPlay for controlling your iPhone via the car, though. 'Two...",
"sourceName":"SocialGist",
"url":"http://www.chichester.co.uk/cars/car-reviews/living-with-the-bmw-x2_9055aa7527c911c0e34497579a7e75bc/",
"date":"201806121008",
"id":"12618939012",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":" Art Art Artist’s Facebook Page Is Auctioned Off for $115, Promptly Covered in Dick Pics This is what happens when you hand over control of your online persona. Kari Paul 5.18.15 ",
"summary":"... is planning to sell his iPhone and all of the open...",
"sourceName":"SocialGist",
"url":"http://motherboard.vice.com/en_us/article/kbz4ya/artists-facebook-page-is-auctioned-off-for-115-promptly-covered-in-dick-pics",
"date":"201806121007",
"id":"13510512572",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":" Gaming Gaming The Adorable Japanese Cat Game Everyone Was Obsessed With Is Now in English Neko Atsume: Kitty Collector is going global. Emanuel Maiberg 10.30.15 ",
"summary":"... English translation coming to the iPhone \"very soon.\" This is according...",
"sourceName":"SocialGist",
"url":"http://motherboard.vice.com/en_us/article/aekwnb/the-adorable-japanese-cat-game-everyone-was-obsessed-with-is-now-in-english",
"date":"201806121007",
"id":"13510513340",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":" Culture Culture As Tech Giants Enter Iran, Microsoft Hangs Back Despite sanctions lifting, the Microsoft Store still isn t available in Iran. Joseph Cox 10.20.14 ",
"summary":"... as selling its Mac and iPhone range to customers planning on...",
"sourceName":"SocialGist",
"url":"http://motherboard.vice.com/en_us/article/4x34bw/technology-after-sanctions-in-iran",
"date":"201806121007",
"id":"13510507708",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":" Apple warns suppliers that iPhone demand is falling - report ",
"summary":"... of 100 million iPhone 8, iPhone 8 Plus and iPhone X devices. This... OLED displays, similar to the iPhone X. The budget model will... for a while now that iPhone sales are flattening. Apple shipped...",
"sourceName":"SocialGist",
"url":"http://www.kvia.com/lifestyle/technology/apple-warns-suppliers-that-iphone-demand-falling-report/750757527",
"date":"201806121006",
"id":"13190692496",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Painterly reflections",
"summary":"... photo he took on his iPhone a week earlier. On his...",
"sourceName":"SocialGist",
"url":"https://www.almanacnews.com/news/show_story.php?id=24782&e=y",
"date":"201806121006",
"id":"14280721174",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":" Opinion OPINION: The Australian government can't be trusted with our digital IDs ",
"summary":"... the FBI from unlocking an iPhone owned by a known terrorist...",
"sourceName":"SocialGist",
"url":"https://www.communitynews.com.au/eastern-reporter/opinion/australian-government-cant-trusted-digital-ids",
"date":"201806121006",
"id":"12846878518",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Facebook Memories lets you relive cherished moments – and block out bad ones",
"summary":"...\nWe reveal the best upcoming iPhone features Apple DIDN'T talk...",
"sourceName":"SocialGist",
"url":"https://www.thesun.ie/tech/2700087/facebook-memories-lets-you-relive-cherished-moments-and-block-out-bad-ones/",
"date":"201806121005",
"id":"13081383171",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Trial underway for Barnesville man charged with supplying drugs to woman who died from overdose",
"summary":"... heroin after Kropp sold an iPhone to a woman in Hazleton...",
"sourceName":"SocialGist",
"url":"http://www.republicanherald.com/news/trial-underway-for-barnesville-man-charged-with-supplying-drugs-to-woman-who-died-from-overdose-1.2348459",
"date":"201806121004",
"id":"14759784749",
"lang":"English",
"username":null,
"followerCount":0
}
],
"providerName":"News",
"next":"10",
"success":true,
"message":"",
"warnings":[
],
"elapsed":517
},
{
"totalHits":13322,
"results":[
{
"title":"Nice Upgrade",
"summary":"Upgrading from a well-worn (and very faithful) 5C.Took a little getting used to.Only real “downside” is the disappearance of the headphone jack. The lightning dongle is too easy to misplace/lose.",
"sourceName":"SocialGist",
"url":"https://www.uscellular.com/devices/phones/apple-iphone-7-jet-black-256Gb.html?productId=prod7440154",
"date":"201806120006",
"id":"2123181692",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"",
"summary":"I have an iPhone X 64g in Silver. It ...",
"sourceName":"SocialGist",
"url":"http://www.consumeraffairs.com/cell_phones/asurion.html",
"date":"201806120000",
"id":"2125654513",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Love my phone!",
"summary":"Love my phone except for the fact that it continues to download my email back to 2016. The guys at the store have clicked the settings but it continues to do so.",
"sourceName":"SocialGist",
"url":"https://www.uscellular.com/devices/phones/apple-iphone-8-plus-gold-256gb.html?productId=prod12220164",
"date":"201806112327",
"id":"2142157873",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Great phone",
"summary":"I love the upgrades to the camera.",
"sourceName":"SocialGist",
"url":"https://www.att.com/cellphones/iphone/apple-iphone-8-plus.html#sku=sku8510273",
"date":"201806111833",
"id":"2130461600",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"iPhone 8",
"summary":"So glad I upgraded from the 6, everything seems better with the 8, Photos are clearer on my 6 they always had a yellow tint, seems to do things faster also. I really like the fact that it isn’t any larger than the 6, not to mention it’s RED which I have been waiting for in an iPhone!",
"sourceName":"SocialGist",
"url":"https://www.att.com/cellphones/iphone/apple-iphone-8.html#sku=sku8870319",
"date":"201806111616",
"id":"2121280457",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Feel sexy & more!",
"summary":"... use the pockets for my iPhone 7 Plus when I walk...",
"sourceName":"SocialGist",
"url":"http://athleta.gap.com/browse/product.do?pid=209929002",
"date":"201806110919",
"id":"2099205309",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Lovely Sensible iPhone Choice",
"summary":"... they all agreed that an iPhone SE 32GB was the right... to scroll after my ancient iPhone 5. Very happy with my...",
"sourceName":"SocialGist",
"url":"http://www.productreview.com.au/p/apple-iphone-se.html",
"date":"201806110000",
"id":"2103479928",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Poor iPhone Screen Repair",
"summary":"... Crazy a go as my iPhone 7 needed a screen replacement.... Comparing it to a genuine iPhone screen the colour and clarity...",
"sourceName":"SocialGist",
"url":"https://uk.trustpilot.com/reviews/5b1e49a76d33bc0fd864f16d",
"date":"201806110000",
"id":"2116152806",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Beest lightning flash drive",
"summary":"Amazing product! I recommend this product to anyone that wants to transfer pics from the iPhone. It is fast and reliable. I have never had an issue.",
"sourceName":"SocialGist",
"url":"https://www.amazon.com/SanDisk-iXpand-iPhone-Silver-SDIX30C-128G-GN6NE/product-reviews/B01CIEBXZG/ref=cm_cr_arp_d_rvw_fmt?sortBy=bySubmissionDateDescending&reviewerType=all_reviews&formatType=current_format",
"date":"201806110000",
"id":"2097486181",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Great little phone",
"summary":"Just purchased my second Iphone SE. It's a great little phone and its never let me down first one I bought was two years ago and still going strong. Its a great size and with an upgrade to 36Gb well worth the money. I would recommend to anyone on a budget $45 a month you can't go wrong especially for us oldies.",
"sourceName":"SocialGist",
"url":"http://www.productreview.com.au/p/apple-iphone-se.html",
"date":"201806110000",
"id":"2124758113",
"lang":"English",
"username":null,
"followerCount":0
}
],
"providerName":"Reviews",
"next":"10",
"success":true,
"message":"",
"warnings":[
],
"elapsed":1391
},
{
"totalHits":40016,
"results":[
{
"title":"A Parents' Guide To Fortnite, GTA V, Call Of Duty, Roblox And Minecraft",
"summary":"... cartoon-like graphics, availability on iPhone, Xbox and PlayStation and the... players of any age. On iPhone and iPad there’s a...",
"sourceName":"SocialGist",
"url":"https://www.huffingtonpost.co.uk/entry/fortnite-and-other-video-games-parents-guide_uk_5b15399ce4b0d5e89e21a70e",
"date":"201806121008",
"id":"12518829726",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"A Parents' Guide To Fortnite, GTA V, Call Of Duty, Roblox And Minecraft",
"summary":"... cartoon-like graphics, availability on iPhone, Xbox and PlayStation and the... players of any age. On iPhone and iPad there’s a...",
"sourceName":"SocialGist",
"url":"https://www.huffingtonpost.co.uk/entry/fortnite-and-parents-guideother-video-games-parents-guide_uk_5b15399ce4b0d5e89e21a70e",
"date":"201806121008",
"id":"12842403173",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"The 5 Greatest BlackBerry Movement Cases And Covers You Can Discover",
"summary":"... an analogous worth to the iPhone. Presents a report on Brazil... decide assigned your case. With iPhone having gone from boring to...",
"sourceName":"SocialGist",
"url":"http://ellington28tuttle.blog.fc2.com/blog-entry-1.html",
"date":"201806121008",
"id":"13610660982",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"#GrandSale: Multi-Purpose Power Bank Diary with 16 GB Pen Drive at the Lowest Price!!",
"summary":"PAN India Delivery | Super Sale | Grab Now | Stock Limited ‌ IPhone and Android Charging Everywhere You Go! Note Your Important Tasks And Carry Your Data Everywhere In 16 GB Pen Drive! Unsubscribe from further emails ",
"sourceName":"SocialGist",
"url":"http://su2008.blogspot.com/2018/06/grandsale-multi-purpose-power-bank_12.html",
"date":"201806121006",
"id":"13391419360",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"MARVELL MINIPOINT DRIVERS FOR MAC",
"summary":"... the original first-generation Apple iPhone. By using this site, you...",
"sourceName":"SocialGist",
"url":"http://gracechurchblog.com/marvell-minipoint-22/",
"date":"201806121004",
"id":"13159247849",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Apple to officially bless USB-C with 2019 iPhone",
"summary":"... bless USB-C with 2019 iPhone",
"sourceName":"SocialGist",
"url":"https://mspoweruser.com/apple-to-officially-bless-usb-c-with-2019-iphone/",
"date":"201806121000",
"id":"13610695286",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"ListVR iPhone app offers a new way to create 360-degree tours",
"summary":"ListVR is an iPhone app that connects to 360-capable cameras, notably the industry-popular Ricoh Theta, to help listing agents rapidly prepare and share panoramic property tours. ",
"sourceName":"SocialGist",
"url":"https://www.inman.com/2018/06/12/listvr-iphone-app-offers-a-new-way-to-create-360-degree-tours/",
"date":"201806121000",
"id":"14395504944",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"ListVR iPhone app offers a new way to create 360-degree tours",
"summary":"ListVR is an iPhone app that connects to 360-capable cameras, notably the industry-popular Ricoh Theta, to help listing agents rapidly prepare and share panoramic property tours.",
"sourceName":"SocialGist",
"url":"http://helenatalbot.com/real-estate-news/listvr-iphone-app-offers-a-new-way-to-create-360-degree-tours/",
"date":"201806121000",
"id":"12619064452",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"My tweets",
"summary":"... that the tunes on my iPhone go back five decades...train...",
"sourceName":"SocialGist",
"url":"https://semi-retired.livejournal.com/273159.html",
"date":"201806121000",
"id":"14172002854",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"7 Retail Marketing Predictions to Watch for in 2018",
"summary":"... into Apple products, including the iPhone. This should encourage retailers to... their home. By using their iPhone to scan the floor of...",
"sourceName":"SocialGist",
"url":"https://www.shutterstock.com/blog/retail-marketing-predictions-2018",
"date":"201806121000",
"id":"13498756944",
"lang":"English",
"username":null,
"followerCount":0
}
],
"providerName":"Blogs",
"next":"10",
"success":true,
"message":"",
"warnings":[
],
"elapsed":1470
},
{
"totalHits":256648,
"results":[
{
"title":"Re: Interesting Find",
"summary":"I’m just glad you lost Interest in that civic! \n\n\nSent from my iPhone using Tapatalk",
"sourceName":"SocialGist",
"url":"http://www.silveradosierra.com/viewtopic.php?t=698984",
"date":"201806121007",
"id":"64274658187",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"RE: June OG Thread",
"summary":"... help! [emoji6] \nBabbled from my iPhone using Tapatalk",
"sourceName":"SocialGist",
"url":"http://www.myproana.com/index.php?showtopic=3437490",
"date":"201806121007",
"id":"54643172018",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"RE: I've sold a few seiko's and bought a Tudor.",
"summary":"[QUOTE=tritto;2623213]Very nice, Paul. \nAlways good to sell a few watches to get something special. \nI've been lucky enough to try on a BB for size, but it wasn't for me. One day I hope to raise funds for a BB58, if it's as good as they say it it. \n\n\nSent from my iPhone using Tapatalk[/QUOTE]\nThanks, the 58 is very nice, go for it.",
"sourceName":"SocialGist",
"url":"http://www.thewatchsite.com/showpost.php?p=2623285",
"date":"201806121006",
"id":"45444078634",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Re: The Brotherhood of Submariner Homages (a/k/a BSHT) (Part 26)",
"summary":"... reading that. \n\n\nSent from my iPhone using Tapatalk",
"sourceName":"SocialGist",
"url":"http://forums.watchuseek.com/showpost.php?p=46266443",
"date":"201806121006",
"id":"73149119344",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"RE: Hip X-Rays, what do you think?",
"summary":"... really worried. \n\n\nSent from my iPhone using Tapatalk",
"sourceName":"SocialGist",
"url":"http://www.goldenretrieverforum.com/showpost.php?p=7633612",
"date":"201806121003",
"id":"47586878135",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"RE: finally got around to doing a “first wax”",
"summary":"[quote=kastner03;260386]believe it or not i enjoy doing it when i have the time, finding the time is the hard part lol\n\n\n Sent from my iPhone using Tapatalk[/quote]\n\n\nMe too. I find it very \"medicinal\".",
"sourceName":"SocialGist",
"url":"http://www.terrainforum.net/showpost.php?p=260450",
"date":"201806121001",
"id":"67999278969",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"RE: 突然想买个二手果机.发现这里大部分比二手平台还要贵",
"summary":" 二手全原iphone+V:yuyang2031 ",
"sourceName":"SocialGist",
"url":"http://tieba.baidu.com/p/5738028280#post_content_120238939677",
"date":"201806121000",
"id":"40498750044",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"RE: Filter Box Cover Question",
"summary":"[QUOTE=Lt4Mike;2357289]I’m at lunch at the moment so I’ll double check but I’m pretty sure it is a sort of carbon filter. Give me about an hour and I’ll be back. \n\n\nSent from my iPhone using Tapatalk[/QUOTE]\n\nman, that's a long lunch break! lol",
"sourceName":"SocialGist",
"url":"http://www.ctsvowners.com/forum/showpost.php?p=2358281",
"date":"201806120958",
"id":"49424983244",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Re: Plug wire Resistance",
"summary":"You’re due for a plug wire change anyway. Unless you have a high tension lead tester, you’re not going to get a perfect reading on them. \n\n\nSent from my iPhone using Tapatalk",
"sourceName":"SocialGist",
"url":"http://www.silveradosierra.com/viewtopic.php?t=698964",
"date":"201806120957",
"id":"64274499979",
"lang":"English",
"username":null,
"followerCount":0
},
{
"title":"Bond update:",
"summary":"... of September's new iPhone announcement. Remember, historically this runs...",
"sourceName":"SocialGist",
"url":"http://investorshub.advfn.com/boards/read_msg.aspx?message_id=141473816",
"date":"201806120956",
"id":"90775052429",
"lang":"English",
"username":null,
"followerCount":0
}
];
So I am trying to create a table for each results property for each provider. I tried using forEach method but I am only able to show one table. Here is what I am doing in HTML
<div>
<md-content flex>
<table flex>
<tr>
<th>Title</th>
<th></th>
<th>Time</th>
</tr>
<tr ng-repeat="row in
providerResponseResults.results">
<td><a style="color:black; text-decoration:none" href="{{ row.url }}">{{ row.title.slice(0, 150) }}</a></td>
<td></td>
<td>{{ row.date }}</td>
</tr>
</table>
</md-content>
</div>
Here's what I tried in my forEach. The values in response.providerResults is same as above
response.providerResults.forEach(function(results) {
$scope.providerResponseResults = results;
});
The json you posted had a couple issues: missing a { for the first object in the array as well as a misplaced ] in one of the elements. After fixing that, here is one way you could loop the results and display them in tables. If you always know that the properties of the objects in the results array are the same you could eliminate the ng-repeat that builds the table column headers.
angular.module('app', [])
.controller('ctrl', function($scope) {
$scope.response = {};
$scope.response.providerResults = [{
"totalHits": 49934,
"results": [{
"title": "Apple Bans Cryptocurrency Mining on iPhone and iPad",
"summary": "Apple Bans Cryptocurrency Mining on iPhone and iPad\nIndo-Asian News ...Service\n, 12 June 2018\nThe iPhone maker Apple has introduced a...",
"sourceName": "SocialGist",
"url": "https://gadgets.ndtv.com/apps/news/apple-bans-cryptocurrency-mining-on-iphone-and-ipad-1866149",
"date": "201806121009",
"id": "12630772075",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Living with the BMW X2, Living with the BMW X2",
"summary": "... Apple CarPlay for controlling your iPhone via the car, though. 'Two...",
"sourceName": "SocialGist",
"url": "http://www.chichester.co.uk/cars/car-reviews/living-with-the-bmw-x2_9055aa7527c911c0e34497579a7e75bc/",
"date": "201806121008",
"id": "12618939012",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": " Art Art Artist’s Facebook Page Is Auctioned Off for $115, Promptly Covered in Dick Pics This is what happens when you hand over control of your online persona. Kari Paul 5.18.15 ",
"summary": "... is planning to sell his iPhone and all of the open...",
"sourceName": "SocialGist",
"url": "http://motherboard.vice.com/en_us/article/kbz4ya/artists-facebook-page-is-auctioned-off-for-115-promptly-covered-in-dick-pics",
"date": "201806121007",
"id": "13510512572",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": " Gaming Gaming The Adorable Japanese Cat Game Everyone Was Obsessed With Is Now in English Neko Atsume: Kitty Collector is going global. Emanuel Maiberg 10.30.15 ",
"summary": "... English translation coming to the iPhone \"very soon.\" This is according...",
"sourceName": "SocialGist",
"url": "http://motherboard.vice.com/en_us/article/aekwnb/the-adorable-japanese-cat-game-everyone-was-obsessed-with-is-now-in-english",
"date": "201806121007",
"id": "13510513340",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": " Culture Culture As Tech Giants Enter Iran, Microsoft Hangs Back Despite sanctions lifting, the Microsoft Store still isn t available in Iran. Joseph Cox 10.20.14 ",
"summary": "... as selling its Mac and iPhone range to customers planning on...",
"sourceName": "SocialGist",
"url": "http://motherboard.vice.com/en_us/article/4x34bw/technology-after-sanctions-in-iran",
"date": "201806121007",
"id": "13510507708",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": " Apple warns suppliers that iPhone demand is falling - report ",
"summary": "... of 100 million iPhone 8, iPhone 8 Plus and iPhone X devices. This... OLED displays, similar to the iPhone X. The budget model will... for a while now that iPhone sales are flattening. Apple shipped...",
"sourceName": "SocialGist",
"url": "http://www.kvia.com/lifestyle/technology/apple-warns-suppliers-that-iphone-demand-falling-report/750757527",
"date": "201806121006",
"id": "13190692496",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Painterly reflections",
"summary": "... photo he took on his iPhone a week earlier. On his...",
"sourceName": "SocialGist",
"url": "https://www.almanacnews.com/news/show_story.php?id=24782&e=y",
"date": "201806121006",
"id": "14280721174",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": " Opinion OPINION: The Australian government can't be trusted with our digital IDs ",
"summary": "... the FBI from unlocking an iPhone owned by a known terrorist...",
"sourceName": "SocialGist",
"url": "https://www.communitynews.com.au/eastern-reporter/opinion/australian-government-cant-trusted-digital-ids",
"date": "201806121006",
"id": "12846878518",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Facebook Memories lets you relive cherished moments – and block out bad ones",
"summary": "...\nWe reveal the best upcoming iPhone features Apple DIDN'T talk...",
"sourceName": "SocialGist",
"url": "https://www.thesun.ie/tech/2700087/facebook-memories-lets-you-relive-cherished-moments-and-block-out-bad-ones/",
"date": "201806121005",
"id": "13081383171",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Trial underway for Barnesville man charged with supplying drugs to woman who died from overdose",
"summary": "... heroin after Kropp sold an iPhone to a woman in Hazleton...",
"sourceName": "SocialGist",
"url": "http://www.republicanherald.com/news/trial-underway-for-barnesville-man-charged-with-supplying-drugs-to-woman-who-died-from-overdose-1.2348459",
"date": "201806121004",
"id": "14759784749",
"lang": "English",
"username": null,
"followerCount": 0
}
],
"providerName": "News",
"next": "10",
"success": true,
"message": "",
"warnings": [
],
"elapsed": 517
}, {
"totalHits": 13322,
"results": [{
"title": "Nice Upgrade",
"summary": "Upgrading from a well-worn (and very faithful) 5C.Took a little getting used to.Only real “downside” is the disappearance of the headphone jack. The lightning dongle is too easy to misplace/lose.",
"sourceName": "SocialGist",
"url": "https://www.uscellular.com/devices/phones/apple-iphone-7-jet-black-256Gb.html?productId=prod7440154",
"date": "201806120006",
"id": "2123181692",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "",
"summary": "I have an iPhone X 64g in Silver. It ...",
"sourceName": "SocialGist",
"url": "http://www.consumeraffairs.com/cell_phones/asurion.html",
"date": "201806120000",
"id": "2125654513",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Love my phone!",
"summary": "Love my phone except for the fact that it continues to download my email back to 2016. The guys at the store have clicked the settings but it continues to do so.",
"sourceName": "SocialGist",
"url": "https://www.uscellular.com/devices/phones/apple-iphone-8-plus-gold-256gb.html?productId=prod12220164",
"date": "201806112327",
"id": "2142157873",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Great phone",
"summary": "I love the upgrades to the camera.",
"sourceName": "SocialGist",
"url": "https://www.att.com/cellphones/iphone/apple-iphone-8-plus.html#sku=sku8510273",
"date": "201806111833",
"id": "2130461600",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "iPhone 8",
"summary": "So glad I upgraded from the 6, everything seems better with the 8, Photos are clearer on my 6 they always had a yellow tint, seems to do things faster also. I really like the fact that it isn’t any larger than the 6, not to mention it’s RED which I have been waiting for in an iPhone!",
"sourceName": "SocialGist",
"url": "https://www.att.com/cellphones/iphone/apple-iphone-8.html#sku=sku8870319",
"date": "201806111616",
"id": "2121280457",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Feel sexy & more!",
"summary": "... use the pockets for my iPhone 7 Plus when I walk...",
"sourceName": "SocialGist",
"url": "http://athleta.gap.com/browse/product.do?pid=209929002",
"date": "201806110919",
"id": "2099205309",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Lovely Sensible iPhone Choice",
"summary": "... they all agreed that an iPhone SE 32GB was the right... to scroll after my ancient iPhone 5. Very happy with my...",
"sourceName": "SocialGist",
"url": "http://www.productreview.com.au/p/apple-iphone-se.html",
"date": "201806110000",
"id": "2103479928",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Poor iPhone Screen Repair",
"summary": "... Crazy a go as my iPhone 7 needed a screen replacement.... Comparing it to a genuine iPhone screen the colour and clarity...",
"sourceName": "SocialGist",
"url": "https://uk.trustpilot.com/reviews/5b1e49a76d33bc0fd864f16d",
"date": "201806110000",
"id": "2116152806",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Beest lightning flash drive",
"summary": "Amazing product! I recommend this product to anyone that wants to transfer pics from the iPhone. It is fast and reliable. I have never had an issue.",
"sourceName": "SocialGist",
"url": "https://www.amazon.com/SanDisk-iXpand-iPhone-Silver-SDIX30C-128G-GN6NE/product-reviews/B01CIEBXZG/ref=cm_cr_arp_d_rvw_fmt?sortBy=bySubmissionDateDescending&reviewerType=all_reviews&formatType=current_format",
"date": "201806110000",
"id": "2097486181",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Great little phone",
"summary": "Just purchased my second Iphone SE. It's a great little phone and its never let me down first one I bought was two years ago and still going strong. Its a great size and with an upgrade to 36Gb well worth the money. I would recommend to anyone on a budget $45 a month you can't go wrong especially for us oldies.",
"sourceName": "SocialGist",
"url": "http://www.productreview.com.au/p/apple-iphone-se.html",
"date": "201806110000",
"id": "2124758113",
"lang": "English",
"username": null,
"followerCount": 0
}
],
"providerName": "Reviews",
"next": "10",
"success": true,
"message": "",
"warnings": [
],
"elapsed": 1391
}, {
"totalHits": 40016,
"results": [{
"title": "A Parents' Guide To Fortnite, GTA V, Call Of Duty, Roblox And Minecraft",
"summary": "... cartoon-like graphics, availability on iPhone, Xbox and PlayStation and the... players of any age. On iPhone and iPad there’s a...",
"sourceName": "SocialGist",
"url": "https://www.huffingtonpost.co.uk/entry/fortnite-and-other-video-games-parents-guide_uk_5b15399ce4b0d5e89e21a70e",
"date": "201806121008",
"id": "12518829726",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "A Parents' Guide To Fortnite, GTA V, Call Of Duty, Roblox And Minecraft",
"summary": "... cartoon-like graphics, availability on iPhone, Xbox and PlayStation and the... players of any age. On iPhone and iPad there’s a...",
"sourceName": "SocialGist",
"url": "https://www.huffingtonpost.co.uk/entry/fortnite-and-parents-guideother-video-games-parents-guide_uk_5b15399ce4b0d5e89e21a70e",
"date": "201806121008",
"id": "12842403173",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "The 5 Greatest BlackBerry Movement Cases And Covers You Can Discover",
"summary": "... an analogous worth to the iPhone. Presents a report on Brazil... decide assigned your case. With iPhone having gone from boring to...",
"sourceName": "SocialGist",
"url": "http://ellington28tuttle.blog.fc2.com/blog-entry-1.html",
"date": "201806121008",
"id": "13610660982",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "#GrandSale: Multi-Purpose Power Bank Diary with 16 GB Pen Drive at the Lowest Price!!",
"summary": "PAN India Delivery | Super Sale | Grab Now | Stock Limited ‌ IPhone and Android Charging Everywhere You Go! Note Your Important Tasks And Carry Your Data Everywhere In 16 GB Pen Drive! Unsubscribe from further emails ",
"sourceName": "SocialGist",
"url": "http://su2008.blogspot.com/2018/06/grandsale-multi-purpose-power-bank_12.html",
"date": "201806121006",
"id": "13391419360",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "MARVELL MINIPOINT DRIVERS FOR MAC",
"summary": "... the original first-generation Apple iPhone. By using this site, you...",
"sourceName": "SocialGist",
"url": "http://gracechurchblog.com/marvell-minipoint-22/",
"date": "201806121004",
"id": "13159247849",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Apple to officially bless USB-C with 2019 iPhone",
"summary": "... bless USB-C with 2019 iPhone",
"sourceName": "SocialGist",
"url": "https://mspoweruser.com/apple-to-officially-bless-usb-c-with-2019-iphone/",
"date": "201806121000",
"id": "13610695286",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "ListVR iPhone app offers a new way to create 360-degree tours",
"summary": "ListVR is an iPhone app that connects to 360-capable cameras, notably the industry-popular Ricoh Theta, to help listing agents rapidly prepare and share panoramic property tours. ",
"sourceName": "SocialGist",
"url": "https://www.inman.com/2018/06/12/listvr-iphone-app-offers-a-new-way-to-create-360-degree-tours/",
"date": "201806121000",
"id": "14395504944",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "ListVR iPhone app offers a new way to create 360-degree tours",
"summary": "ListVR is an iPhone app that connects to 360-capable cameras, notably the industry-popular Ricoh Theta, to help listing agents rapidly prepare and share panoramic property tours.",
"sourceName": "SocialGist",
"url": "http://helenatalbot.com/real-estate-news/listvr-iphone-app-offers-a-new-way-to-create-360-degree-tours/",
"date": "201806121000",
"id": "12619064452",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "My tweets",
"summary": "... that the tunes on my iPhone go back five decades...train...",
"sourceName": "SocialGist",
"url": "https://semi-retired.livejournal.com/273159.html",
"date": "201806121000",
"id": "14172002854",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "7 Retail Marketing Predictions to Watch for in 2018",
"summary": "... into Apple products, including the iPhone. This should encourage retailers to... their home. By using their iPhone to scan the floor of...",
"sourceName": "SocialGist",
"url": "https://www.shutterstock.com/blog/retail-marketing-predictions-2018",
"date": "201806121000",
"id": "13498756944",
"lang": "English",
"username": null,
"followerCount": 0
}
],
"providerName": "Blogs",
"next": "10",
"success": true,
"message": "",
"warnings": [
],
"elapsed": 1470
}, {
"totalHits": 256648,
"results": [{
"title": "Re: Interesting Find",
"summary": "I’m just glad you lost Interest in that civic! \n\n\nSent from my iPhone using Tapatalk",
"sourceName": "SocialGist",
"url": "http://www.silveradosierra.com/viewtopic.php?t=698984",
"date": "201806121007",
"id": "64274658187",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "RE: June OG Thread",
"summary": "... help! [emoji6] \nBabbled from my iPhone using Tapatalk",
"sourceName": "SocialGist",
"url": "http://www.myproana.com/index.php?showtopic=3437490",
"date": "201806121007",
"id": "54643172018",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "RE: I've sold a few seiko's and bought a Tudor.",
"summary": "[QUOTE=tritto;2623213]Very nice, Paul. \nAlways good to sell a few watches to get something special. \nI've been lucky enough to try on a BB for size, but it wasn't for me. One day I hope to raise funds for a BB58, if it's as good as they say it it. \n\n\nSent from my iPhone using Tapatalk[/QUOTE]\nThanks, the 58 is very nice, go for it.",
"sourceName": "SocialGist",
"url": "http://www.thewatchsite.com/showpost.php?p=2623285",
"date": "201806121006",
"id": "45444078634",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Re: The Brotherhood of Submariner Homages (a/k/a BSHT) (Part 26)",
"summary": "... reading that. \n\n\nSent from my iPhone using Tapatalk",
"sourceName": "SocialGist",
"url": "http://forums.watchuseek.com/showpost.php?p=46266443",
"date": "201806121006",
"id": "73149119344",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "RE: Hip X-Rays, what do you think?",
"summary": "... really worried. \n\n\nSent from my iPhone using Tapatalk",
"sourceName": "SocialGist",
"url": "http://www.goldenretrieverforum.com/showpost.php?p=7633612",
"date": "201806121003",
"id": "47586878135",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "RE: finally got around to doing a “first wax”",
"summary": "[quote=kastner03;260386]believe it or not i enjoy doing it when i have the time, finding the time is the hard part lol\n\n\n Sent from my iPhone using Tapatalk[/quote]\n\n\nMe too. I find it very \"medicinal\".",
"sourceName": "SocialGist",
"url": "http://www.terrainforum.net/showpost.php?p=260450",
"date": "201806121001",
"id": "67999278969",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "RE: 突然想买个二手果机.发现这里大部分比二手平台还要贵",
"summary": " 二手全原iphone+V:yuyang2031 ",
"sourceName": "SocialGist",
"url": "http://tieba.baidu.com/p/5738028280#post_content_120238939677",
"date": "201806121000",
"id": "40498750044",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "RE: Filter Box Cover Question",
"summary": "[QUOTE=Lt4Mike;2357289]I’m at lunch at the moment so I’ll double check but I’m pretty sure it is a sort of carbon filter. Give me about an hour and I’ll be back. \n\n\nSent from my iPhone using Tapatalk[/QUOTE]\n\nman, that's a long lunch break! lol",
"sourceName": "SocialGist",
"url": "http://www.ctsvowners.com/forum/showpost.php?p=2358281",
"date": "201806120958",
"id": "49424983244",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Re: Plug wire Resistance",
"summary": "You’re due for a plug wire change anyway. Unless you have a high tension lead tester, you’re not going to get a perfect reading on them. \n\n\nSent from my iPhone using Tapatalk",
"sourceName": "SocialGist",
"url": "http://www.silveradosierra.com/viewtopic.php?t=698964",
"date": "201806120957",
"id": "64274499979",
"lang": "English",
"username": null,
"followerCount": 0
},
{
"title": "Bond update:",
"summary": "... of September's new iPhone announcement. Remember, historically this runs...",
"sourceName": "SocialGist",
"url": "http://investorshub.advfn.com/boards/read_msg.aspx?message_id=141473816",
"date": "201806120956",
"id": "90775052429",
"lang": "English",
"username": null,
"followerCount": 0
}
],
"providerName": "???",
"next": "10",
"success": true,
"message": "",
"warnings": [
],
"elapsed": 1470
}];
});
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<div ng-app="app" ng-controller="ctrl">
<div ng-repeat="r in response.providerResults">
<h2>{{r.providerName}} <small>({{r.totalHits}} hits)</small></h2>
<div>
<table>
<thead>
<tr>
<th ng-repeat="(key,value) in r.results[0]">{{key}}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in r.results">
<td ng-repeat="(key,value) in item">{{value}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
don't do foreach. When you get the response from the http call just do
$scope.providerResponseResults = response.providerResults;

Exclude The Links From The Navigation Templates

I know that I'm able to get the links to an article using this in my API request.
My problem is regarding the cases of inclusion. By asking for the links to a specific article, I'm also getting the links in all of the navigation templates which are included at the bottom of the article.
For example, after asking for the links to this article:
https://en.wikipedia.org/w/api.php?action=query&titles=St%C3%A9phane_Sess%C3%A8gnon&prop=linkshere
I'm also getting the links which appear at the bottom of the page, in the navigation templates:
I'm building an app which uses the mobile version of Wikipedia, so the navigation templates at the bottom of the pages are not relevant for my goal, because they are not shown in the mobile version.
I'd like to exclude those links from the result someway. I want to get only the links which actually appears in an article body, or at least detect whether they are from a template or not. Is this possible?
Are you aware that there is a mobile API? It does various transformations on the article to make it more appropriate for small-screen devices, including the removal of most navigation templates. For example:
https://en.wikipedia.org/api/rest_v1/page/mobile-sections/Fort_Horsted
{
"lead": {
"ns": 0,
"id": 35265226,
"revision": "803745099",
"lastmodified": "2017-10-04T10:37:41Z",
"lastmodifier": {
"user": "InternetArchiveBot",
"gender": "unknown"
},
"displaytitle": "Fort Horsted",
"normalizedtitle": "Fort Horsted",
"wikibase_item": "Q5471353",
"protection": {},
"editable": true,
"languagecount": 0,
"image": {
"file": "The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg",
"urls": {
"320": "https://upload.wikimedia.org/wikipedia/commons/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg",
"640": "https://upload.wikimedia.org/wikipedia/commons/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg",
"800": "https://upload.wikimedia.org/wikipedia/commons/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg",
"1024": "https://upload.wikimedia.org/wikipedia/commons/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg"
}
},
"hatnotes": [],
"geo": {
"latitude": 51.358,
"longitude": 0.513
},
"sections": [
{
"id": 0,
"text": "<span><p><b>Fort Horsted</b> is a scheduled monument (Monument Number 416040) that lies in the Horsted Valley to the South of Chatham, Kent, England. It is a late 19th-century Land Fort, and one of six constructed around Chatham and Gillingham, Kent to protect HM Dockyard Chatham from attack. Originally proposed in the Royal Commission on the Defence of the United Kingdom Report, published in 1860, it and the other land defences were omitted as part of general cost cutting with only the coastal defences on the River Medway being retained and completed under the original 1860 proposals. It was not until the mid-1870s that a revised program was accepted, which included the construction of a convict prison at Borstal, Rochester, to provide low cost labour for the construction of a line of four forts, Fort Borstal, Fort Bridgewood, Fort Horsted and Fort Luton (a further three forts were constructed with the use of convict labour). Its construction started in 1879 and was complete by 1889 after much delay.</p></span><figure class=\"mw-default-size\" id=\"mwAg\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg/220px-The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg\" data-file-type=\"bitmap\" height=\"163\" width=\"220\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg/440px-The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg 2x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e1/The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg/330px-The_British_Army_in_the_United_Kingdom_1939-45_H5865.jpg 1.5x\"><figcaption>A QF 12-pounder 12 cwt AA gun mounted on Albion BY-series truck, December 1940</figcaption></figure>\n<p class=\"skipped\"><span style=\"font-size: small;\"></span></p>\n\n\n\n"
},
{
"id": 1,
"toclevel": 1,
"anchor": "Materials",
"line": "Materials"
},
{
"id": 2,
"toclevel": 1,
"anchor": "Armaments",
"line": "Armaments"
},
{
"id": 3,
"toclevel": 1,
"anchor": "World_wars",
"line": "World wars"
},
{
"id": 4,
"toclevel": 1,
"anchor": "The_name",
"line": "The name"
},
{
"id": 5,
"toclevel": 1,
"anchor": "The_fort_today",
"line": "The fort today"
},
{
"id": 6,
"toclevel": 1,
"anchor": "References",
"line": "References"
},
{
"id": 7,
"toclevel": 1,
"anchor": "External_links",
"line": "External links"
}
]
},
"remaining": {
"sections": [
{
"id": 1,
"text": "\n<p>The fort was constructed almost entirely of concrete, topped with chalk and earth with no visible concrete exposed from the outside, except from the gorge or rear of the fort. The ditch was protected by two single and one double counterscarp galleries.</p>\n\n",
"toclevel": 1,
"line": "Materials",
"anchor": "Materials"
},
{
"id": 2,
"text": "\n<p>Although the original plans of the fort proposed fixed armament, by its completion there had been a shift away from fixed armament to moveable guns. The fort would not been armed, unless actual threat materialised and then with moveable field artillery. In the event of actual invasion and an attack on HM Dockyard Chatham, additional field defence would have augmented the forts, with trenches and battery positions. In fact in 1907 during summer manoeuvres such defences were probably constructed.</p>\n\n",
"toclevel": 1,
"line": "Armaments",
"anchor": "Armaments"
},
{
"id": 3,
"text": "\n<p>Deemed to have become obsolete by 1910, the fort formed part of Chatham's land defences in both World Wars. In World War I brick emplacements and a pillbox were built on the ramparts, and fixed anti-aircraft guns of an early type were installed (possibly 12pdr coastal defence guns on improvised high angle mountings, not be confused with the later naval version).</p>\n\n",
"toclevel": 1,
"line": "World wars",
"anchor": "World_wars"
},
{
"id": 4,
"text": "\n<p>The fort was named after a local hamlet. Horsted is speculated to have been named after the legendary Saxon warrior Horsa, who was killed at nearby Aylesford while fighting the Britons.<span class=\"mw-ref\" id=\"cite_ref-1\"><span class=\"mw-reflink-text\">[1]</span></span></p>\n\n",
"toclevel": 1,
"line": "The name",
"anchor": "The_name"
},
{
"id": 5,
"text": "\n<p>The fort survives relatively intact and is currently in use as a business park. While it is in relatively good condition, its commercial use has seen some new construction and modification which has seen the significant loss of the original structure and features.</p>\n\n",
"toclevel": 1,
"line": "The fort today",
"anchor": "The_fort_today"
},
{
"id": 6,
"text": "\n<div class=\"mw-references-wrap\"><ol class=\"mw-references references\"><li id=\"cite_note-1\"> <span id=\"mw-reference-text-cite_note-1\" class=\"mw-reference-text\"><cite class=\"citation web\" id=\"mwLA\"><a rel=\"mw:ExtLink\" href=\"https://www.britannica.com/topic/Hengist\" class=\"external\">\"Hengist and Horsa\"</a>. Encyclopædia Britannica.</cite></span></li></ol></div>\n\n\n",
"toclevel": 1,
"line": "References",
"anchor": "References",
"isReferenceSection": true
},
{
"id": 7,
"text": "\n<ul><li> <a rel=\"mw:ExtLink\" href=\"http://www.ecastles.co.uk/chatham.html\" class=\"external\">Map of Chatham's defences</a></li>\n<li> <a rel=\"mw:ExtLink\" href=\"http://www.forthorsted.co.uk/content/history\" class=\"external\">Fort Horsted website history page</a></li>\n<li> <a rel=\"mw:ExtLink\" href=\"https://web.archive.org/web/20120410012117/http://www.undergroundkent.co.uk/fort_horsted.htm\" class=\"external\">Fort Horsted on the Underground Kent website</a> Dead Link</li>\n<li> <a rel=\"mw:ExtLink\" href=\"http://www.pastscape.org.uk/hob.aspx?hob_id=416040&sort=2&type=&rational=a&class1=1&period=None&county=693349&district=786118&parish=None&place=chatham&recordsperpage=10&source=text&rtype=&rnumber=&p=2&move=n&nor=39&recfc=0\" class=\"external\">Pastscape Record Fort Horstead</a></li></ul>\n\n<div role=\"navigation\" class=\"navbox\" aria-labelledby=\"Forts_in_Medway\" style=\"padding:3px\"><table class=\"nowraplinks collapsible autocollapse navbox-inner\" style=\"border-spacing:0;background:transparent;color:inherit\"><tbody><tr><th scope=\"col\" class=\"navbox-title\" colspan=\"2\" style=\"background:lightsteelblue;\"><div class=\"plainlinks hlist navbar mini\"><ul><li class=\"nv-view\"><abbr style=\";background:lightsteelblue;;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;\">v</abbr></li><li class=\"nv-talk\"><abbr style=\";background:lightsteelblue;;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;\">t</abbr></li><li class=\"nv-edit\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Template:Defences_of_medway&action=edit\" class=\"external\"><abbr style=\";background:lightsteelblue;;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;\">e</abbr></a></li></ul></div><div id=\"Forts_in_Medway\" style=\"font-size:114%;margin:0 4em\">Forts in Medway</div></th></tr><tr><td colspan=\"2\" class=\"navbox-list navbox-odd hlist\" style=\"width:100%;padding:0px\"><div style=\"padding:0em 0.25em\">\n<dl><dt>Medieval</dt>\n<dd> Rochester Castle</dd></dl>\n\n<dl><dt>Tudor</dt>\n<dd> Upnor Castle</dd></dl>\n\n<dl><dt>17th century</dt>\n<dd> Cockham Wood Fort</dd>\n<dd> Fort Gillingham</dd></dl>\n\n<dl><dt>Inner Ring <span style=\"font-weight:normal;\">(Napoleonic)</span></dt>\n<dd> Fort Clarence</dd>\n<dd> Fort Pitt</dd>\n<dd> Fort Amherst</dd></dl>\n\n<dl><dt>Outer Ring <span style=\"font-weight:normal;\">(Palmerston)</span></dt>\n<dd> Fort Borstal</dd>\n<dd> Fort Bridgewood</dd>\n<dd> Fort Darland</dd>\n<dd> Fort Horsted</dd>\n<dd> Fort Luton</dd>\n<dd> Grange Redoubt</dd>\n<dd> Woodlands Redoubt</dd>\n<dd> Fort Hoo</dd>\n<dd> Fort Darnet</dd></dl>\n</div></td></tr></tbody></table></div>\n\n",
"toclevel": 1,
"line": "External links",
"anchor": "External_links"
}
]
}
}
(The response for Stéphane Sessègnon would be too large to include here.)
If you really just want the links, and only non-template ones, I don't think that's available. You can parse it yourself, using something like mwparserfromhell

How does Google Custom search, search the web and why does it like so much domains with edu?

I'm trying to use the Google Custom API to search for a certain keyword however it seems that the returned JSON that contains the links to the websites which "match" my keyword are totally irrelevant to what I have searched. I have noticed that anything searched will return 80% domains which end with edu even though my keyword is gum guard for example.
I don't mind domains ending with edu however I thought this API returns the first websites that will get returned whenever I go to my Google Chrome and type gum guard (in my example). Searching for gum guard using Google in a browser returns several websites which are relevant (Amazon, etc ... The JSON returned by the API doesn't return Amazon nor does it return anything from the first page from the browser). This confirms the fact that the API doesn't actually return the websites that a simple Google search through the browser will.
Do I have to specify to the API to return what the browser will? What other API could I use to achieve what I'm looking for?
Here is the irrelevant json response from google
{
"kind": "customsearch#search",
"url": {
"type": "application/json",
"template": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json"
},
"queries": {
"nextPage": [
{
"title": "Google Custom Search - gum guards",
"totalResults": "2710000",
"searchTerms": "gum guards",
"count": 10,
"startIndex": 11,
"inputEncoding": "utf8",
"outputEncoding": "utf8",
"safe": "off",
"cx": "017576662512468239146:omuauf_lfve"
}
],
"request": [
{
"title": "Google Custom Search - gum guards",
"totalResults": "2710000",
"searchTerms": "gum guards",
"count": 10,
"startIndex": 1,
"inputEncoding": "utf8",
"outputEncoding": "utf8",
"safe": "off",
"cx": "017576662512468239146:omuauf_lfve"
}
]
},
"context": {
"title": "CS Curriculum",
"facets": [
[
{
"label": "lectures",
"anchor": "Lectures",
"label_with_op": "more:lectures"
}
],
[
{
"label": "assignments",
"anchor": "Assignments",
"label_with_op": "more:assignments"
}
],
[
{
"label": "reference",
"anchor": "Reference",
"label_with_op": "more:reference"
}
]
]
},
"searchInformation": {
"searchTime": 0.406893,
"formattedSearchTime": "0.41",
"totalResults": "2710000",
"formattedTotalResults": "2,710,000"
},
"items": [
{
"kind": "customsearch#result",
"title": "Decomposing an integer as sum of two squares",
"htmlTitle": "Decomposing an integer as sum of two squares",
"link": "https://www.cs.utexas.edu/users/EWD/ewd10xx/EWD1032.PDF",
"displayLink": "www.cs.utexas.edu",
"snippet": "DacompOSingL on 'ln}€q¢f' as gum OP 'I-wo squares. I \\J v. I (I had no\\' I'flcmned \n+0 wr'H-e .... which Sujjes} “we guard xg and “HG Fifi-her arm} so 'mhreshn _ ...",
"htmlSnippet": "DacompOSingL on 'ln}€q¢f' as \u003cb\u003egum\u003c/b\u003e OP 'I-wo squares. I \\J v. I (I had no\\' I'flcmned \u003cbr\u003e\n+0 wr'H-e .... which Sujjes} “we \u003cb\u003eguard\u003c/b\u003e xg and “HG Fifi-her arm} so 'mhreshn _ ...",
"cacheId": "6kLsXUvB8OcJ",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "https://www.cs.utexas.edu/users/EWD/ewd10xx/EWD1032.PDF",
"htmlFormattedUrl": "https://www.cs.utexas.edu/users/EWD/ewd10xx/EWD1032.PDF",
"pagemap": {
"metatags": [
{
"moddate": "Fri Mar 3 06:46:07 2000",
"creator": "Adobe PageMaker 6.52",
"author": "Administrator",
"subject": "ewd1032",
"producer": "Acrobat Distiller 4.0 for Windows",
"creationdate": "Fri Mar 3 12:46:06 2000"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Full Course Reader - Stanford University",
"htmlTitle": "Full Course Reader - Stanford University",
"link": "http://www.stanford.edu/class/cs106l/course-reader/full_course_reader.pdf",
"displayLink": "www.stanford.edu",
"snippet": "There are many ways to write include guards, but one ...... map, an atom, a gum, \na kit, a baleen, a gala, a ten, a don, a mural, a pan, a faun, a ducat, a pagoda ...",
"htmlSnippet": "There are many ways to write include \u003cb\u003eguards\u003c/b\u003e, but one ...... map, an atom, a \u003cb\u003egum\u003c/b\u003e, \u003cbr\u003e\na kit, a baleen, a gala, a ten, a don, a mural, a pan, a faun, a ducat, a pagoda ...",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "www.stanford.edu/class/cs106l/course-reader/full_course_reader.pdf",
"htmlFormattedUrl": "www.stanford.edu/class/cs106l/course-reader/full_course_reader.pdf",
"pagemap": {
"cse_image": [
{
"src": "x-raw-image:///9d911bb58ab6b4c5a65ca944f233ed3f9a2190dfa2b61f975ad68a713143a787"
}
],
"cse_thumbnail": [
{
"width": "256",
"height": "197",
"src": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRciEJyvz3Cd2n9Pp3I0lhNxjVTKvKHuiT2npoRD9MXl2mvxCL9m2ZoSi4"
}
],
"metatags": [
{
"title": "CS106L Course Reader",
"author": "Keith Schwarz",
"creator": "Writer",
"producer": "OpenOffice.org 3.4",
"creationdate": "D:20130424224219-07'00'"
}
]
}
},
{
"kind": "customsearch#result",
"title": "The First World War Diary of Lupton Kaylor",
"htmlTitle": "The First World War Diary of Lupton Kaylor",
"link": "https://www.cs.utexas.edu/users/cline/LLK_Diary/LLK_Diary_The_War_with_Germanyold.pdf",
"displayLink": "www.cs.utexas.edu",
"snippet": "of work by not doing any fatigue1 or guard duty. The eats were much ...... \nReceived three gift[s] of goodies & tobacco, cigarettes & chewing gum from the “Y\n”,.",
"htmlSnippet": "of work by not doing any fatigue1 or \u003cb\u003eguard\u003c/b\u003e duty. The eats were much ...... \u003cbr\u003e\nReceived three gift[s] of goodies & tobacco, cigarettes & chewing \u003cb\u003egum\u003c/b\u003e from the “Y\u003cbr\u003e\n”,.",
"cacheId": "utxIYtTGiYcJ",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "https://www.cs.utexas.edu/.../LLK_Diary_The_War_with_Germanyold.pdf",
"htmlFormattedUrl": "https://www.cs.utexas.edu/.../LLK_Diary_The_War_with_Germanyold.pdf",
"pagemap": {
"cse_image": [
{
"src": "x-raw-image:///53d8322fe2c384f82878a5fe26ac9abb9bd5537787e014be353f105168304940"
}
],
"cse_thumbnail": [
{
"width": "193",
"height": "261",
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTR5evzfHcjXcQIyMwYFGMY8s30g02arz36cIXyn1ghRIu6QQ2NZ4-Umck"
}
],
"metatags": [
{
"creator": "diary.PUB - Microsoft Publisher",
"creationdate": "D:20041208121209",
"title": "C:\\Documents and Settings\\Alan Kaylor Cline\\My Documents\\Diary_LLK_The_War_with_Germany.pdf",
"author": "Alan Kaylor Cline",
"producer": "Acrobat PDFWriter 5.0 for Windows NT"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Testing and Grading - EECS Instruction - University of California ...",
"htmlTitle": "Testing and Grading - EECS Instruction - University of California \u003cb\u003e...\u003c/b\u003e",
"link": "https://www-inst.eecs.berkeley.edu/~cs375/sp14/book/Tools_for_Teaching_2nd_Edition_PART_VIII_Testing_And_Grading.pdf",
"displayLink": "www-inst.eecs.berkeley.edu",
"snippet": "coded M & Ms for signaling answers and the use of a gum wrapper as a crib \nsheet. YouTube ...... dents ' names to increase objectivity and guard against bias.",
"htmlSnippet": "coded M & Ms for signaling answers and the use of a \u003cb\u003egum\u003c/b\u003e wrapper as a crib \u003cbr\u003e\nsheet. YouTube ...... dents ' names to increase objectivity and \u003cb\u003eguard\u003c/b\u003e against bias.",
"cacheId": "DbT9nrjcCOsJ",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "https://www-inst.eecs.berkeley.edu/.../Tools_for_Teaching_2nd_Edition_ PART_VIII_Testing_And_Grading.pdf",
"htmlFormattedUrl": "https://www-inst.eecs.berkeley.edu/.../Tools_for_Teaching_2nd_Edition_ PART_VIII_Testing_And_Grading.pdf",
"pagemap": {
"metatags": [
{
"creationdate": "D:20140212112830",
"creator": "Google",
"producer": "Google"
}
]
}
},
{
"kind": "customsearch#result",
"title": "When such claims and litigation extend beyond the period , the ...",
"htmlTitle": "When such claims and litigation extend beyond the period , the \u003cb\u003e...\u003c/b\u003e",
"link": "http://cs.jhu.edu/~jason/465/hw-ofst/tagger/datahelp/entrain.withSA.txt",
"displayLink": "cs.jhu.edu",
"snippet": "A spot honoring Bill White , the inventor of chewing gum , shows a woman trying \n..... its pharmaceuticals subsidiary agreed to supply collagen corneal shields for ...",
"htmlSnippet": "A spot honoring Bill White , the inventor of chewing \u003cb\u003egum\u003c/b\u003e , shows a woman trying \u003cbr\u003e\n..... its pharmaceuticals subsidiary agreed to supply collagen corneal \u003cb\u003eshields\u003c/b\u003e for ...",
"cacheId": "FxEdWvhjFswJ",
"mime": "text/plain",
"formattedUrl": "cs.jhu.edu/~jason/465/hw-ofst/tagger/datahelp/entrain.withSA.txt",
"htmlFormattedUrl": "cs.jhu.edu/~jason/465/hw-ofst/tagger/datahelp/entrain.withSA.txt"
},
{
"kind": "customsearch#result",
"title": "greimlin 671 grianghrafad6ir greimlin, m. (gs. ~, pL ~i). Med ...",
"htmlTitle": "greimlin 671 grianghrafad6ir greimlin, m. (gs. ~, pL ~i). Med \u003cb\u003e...\u003c/b\u003e",
"link": "https://www.cs.tcd.ie/disciplines/intelligent_systems/clg/clg_web/L/LexSystem/NewIrishDictionaryDataandParser/dict68.txt",
"displayLink": "www.cs.tcd.ie",
"snippet": "... m = GUAJRE? guardal(l), ~ach GUAIRDEAI~L. -ACH guard~n = GUA!RNEAN \n.... Arb: Gum. Crann ~,gum-tree. ~arabach, gum arabic. '--'peirce, gutta-percha.",
"htmlSnippet": "... m = GUAJRE? guardal(l), ~ach GUAIRDEAI~L. -ACH \u003cb\u003eguard\u003c/b\u003e~n = GUA!RNEAN \u003cbr\u003e\n.... Arb: \u003cb\u003eGum\u003c/b\u003e. Crann ~,\u003cb\u003egum\u003c/b\u003e-tree. ~arabach, \u003cb\u003egum\u003c/b\u003e arabic. '--'peirce, gutta-percha.",
"cacheId": "62bdHC_BpNUJ",
"mime": "text/plain",
"formattedUrl": "https://www.cs.tcd.ie/disciplines/intelligent_systems/.../dict68.txt",
"htmlFormattedUrl": "https://www.cs.tcd.ie/disciplines/intelligent_systems/.../dict68.txt"
},
{
"kind": "customsearch#result",
"title": "a cappella,abbandono,accrescendo,affettuoso,agilmente,agitato ...",
"htmlTitle": "a cappella,abbandono,accrescendo,affettuoso,agilmente,agitato \u003cb\u003e...\u003c/b\u003e",
"link": "http://www.cse.ohio-state.edu/~wallacch/thesaurus",
"displayLink": "www.cse.ohio-state.edu",
"snippet": "... gestae,rose,sable,saltire,scutcheon,shield,spread eagle,step,stroke,stunt ...... ,\ngluten,glutenous,glutinose,glutinous,gooey,grumous,gum,gumbo,gumbolike ...",
"htmlSnippet": "... gestae,rose,sable,saltire,scutcheon,\u003cb\u003eshield\u003c/b\u003e,spread eagle,step,stroke,stunt ...... ,\u003cbr\u003e\ngluten,glutenous,glutinose,glutinous,gooey,grumous,\u003cb\u003egum\u003c/b\u003e,gumbo,gumbolike ...",
"mime": "text/plain",
"formattedUrl": "www.cse.ohio-state.edu/~wallacch/thesaurus",
"htmlFormattedUrl": "www.cse.ohio-state.edu/~wallacch/thesaurus"
},
{
"kind": "customsearch#result",
"title": "A Visual Modality for the Augmentation of Paper",
"htmlTitle": "A Visual Modality for the Augmentation of Paper",
"link": "http://www.acm.org/icmi/2001/PUI-2001/a2.pdf",
"displayLink": "www.acm.org",
"snippet": "name AG for “advanced guard.” The other feature structure ... odds of touching \nthe board (either by rubbing along the gum line or dabbing a point thereon) does\n ...",
"htmlSnippet": "name AG for “advanced \u003cb\u003eguard\u003c/b\u003e.” The other feature structure ... odds of touching \u003cbr\u003e\nthe board (either by rubbing along the \u003cb\u003egum\u003c/b\u003e line or dabbing a point thereon) does\u003cbr\u003e\n ...",
"cacheId": "N7tXMImzoFEJ",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "www.acm.org/icmi/2001/PUI-2001/a2.pdf",
"htmlFormattedUrl": "www.acm.org/icmi/2001/PUI-2001/a2.pdf",
"pagemap": {
"cse_image": [
{
"src": "x-raw-image:///58b3bd5cddc8af4a254e5ff907bfcb937b19e788ad7b0d87dc939eeeba50e10d"
}
],
"cse_thumbnail": [
{
"width": "270",
"height": "186",
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQv_rPdjW43AST6Pifq0F8l9EO76tn3k24etRsD9pN1Cj0QfboWIOku5DA"
}
],
"metatags": [
{
"creationdate": "D:20011001165911",
"producer": "Acrobat Distiller 4.0 for Windows",
"creator": "Windows NT 4.0",
"title": "A Visual Modality for the Augmentation of Paper",
"moddate": "D:20011010203501-07'00'",
"author": "David R. McGee , Misha Pavel, Adriana Adami, Guoping Wang, and Philip R. Cohen"
}
]
}
},
{
"kind": "customsearch#result",
"title": "Contents Preface #i 1 Introduction 1 I PreliHinRries 7 2 Overview 9 ...",
"htmlTitle": "Contents Preface #i 1 Introduction 1 I PreliHinRries 7 2 Overview 9 \u003cb\u003e...\u003c/b\u003e",
"link": "https://www.cs.utexas.edu/users/moore/publications/acl2-books/acs/excerpts.pdf",
"displayLink": "www.cs.utexas.edu",
"snippet": "W e omit the guard below , which allows the use of e q l below. ( defu R ...... th is \nnaiv e a r gum e n t assum e s th a t the n e w i te m is a n o d e in .W h a t if i t.",
"htmlSnippet": "W e omit the \u003cb\u003eguard\u003c/b\u003e below , which allows the use of e q l below. ( defu R ...... th is \u003cbr\u003e\nnaiv e a r \u003cb\u003egum\u003c/b\u003e e n t assum e s th a t the n e w i te m is a n o d e in .W h a t if i t.",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "https://www.cs.utexas.edu/users/moore/publications/acl2.../excerpts.pdf",
"htmlFormattedUrl": "https://www.cs.utexas.edu/users/moore/publications/acl2.../excerpts.pdf",
"pagemap": {
"metatags": [
{
"producer": "Aladdin Ghostscript 6.01"
}
]
}
},
{
"kind": "customsearch#result",
"title": "end",
"htmlTitle": "end",
"link": "http://www.cs.columbia.edu/~sedwards/presentations/ccu2004.pdf",
"displayLink": "www.cs.columbia.edu",
"snippet": "Design a vending machine controller that dispenses gum once. ... dime have \nbeen inserted, and a single output, GUM, ...... to add guard variable or copy. ⇒.",
"htmlSnippet": "Design a vending machine controller that dispenses \u003cb\u003egum\u003c/b\u003e once. ... dime have \u003cbr\u003e\nbeen inserted, and a single output, \u003cb\u003eGUM\u003c/b\u003e, ...... to add \u003cb\u003eguard\u003c/b\u003e variable or copy. ⇒.",
"cacheId": "7oFO304KMz0J",
"mime": "application/pdf",
"fileFormat": "PDF/Adobe Acrobat",
"formattedUrl": "www.cs.columbia.edu/~sedwards/presentations/ccu2004.pdf",
"htmlFormattedUrl": "www.cs.columbia.edu/~sedwards/presentations/ccu2004.pdf",
"pagemap": {
"cse_image": [
{
"src": "x-raw-image:///54b64bebe16665867bf6c2965b03fa7116ef6b0137317ac8e3e64e314a0b600a"
}
],
"cse_thumbnail": [
{
"width": "211",
"height": "239",
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSFwWtVT_MvYTqyJXpdjBC3M7oVVJXdHmyT9VE0WcaKqfC0wlnwuYLSB7Pj"
}
],
"metatags": [
{
"producer": "GNU Ghostscript 7.05"
}
]
}
}
]
}
As you can see gum guards according to this api has a correlation with squared numbers.
From here: enter link description here
Search the entire web.
This article applies only to free basic custom search engines. You can't set Google Site Search to search the entire web.
If you have a basic custom search engine, you can set it to search the entire web. Note that results may not match the results you'd get by searching on Google Web Search. If you do set your search engine to search the entire web, you won't be able to use on-demand indexing.
Convert a search engine to search the entire web:
On the Custom Search home page, click the search engine you want.
Click Setup, and then click the Basics tab.
Select Search the entire web but emphasize included sites.
In the Sites to search section, delete the site you entered during
the initial setup process.