Timeline for Give us a site's API name in the list of a user's sites
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 18, 2017 at 23:37 | comment | added | Jason C |
Fwiw, the site_urls don't end with a / (maybe they used to). No big deal but the little substring snippet doesn't work verbatim like this.
|
|
Nov 4, 2016 at 2:12 | history | edited | Brock Adams | CC BY-SA 3.0 |
Clear up explanation and enhance SEO. (This answer was a bit to hard to find a moment ago.)
|
Aug 3, 2013 at 18:42 | comment | added | user18962 |
Awesome! So get the URL and rip out http(s):// . Simple!
|
|
Aug 3, 2013 at 18:36 | comment | added | Tim Stone♦ |
Yes, so long as it's just the domain name. This is mentioned in the paragraph about the site parameter in the documentation, specifically "This parameter can be the full domain name (ie. "stackoverflow.com"), or a short form identified by api_site_parameter on the site object." (emphasis mine)
|
|
Aug 3, 2013 at 18:32 | vote | accept | CommunityBot | ||
Aug 3, 2013 at 18:32 | comment | added | user18962 |
Really? I could pass space.stackexchange.com for site and it would get me results for Space Exploration?
|
|
Aug 3, 2013 at 16:18 | history | answered | Tim Stone♦ | CC BY-SA 3.0 |