Sha256: 7804bfc2645034a9b1a4c03f8d63b387a0b23c2c0e44ac3136e7a4a53be5c012

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

module WikipediaRestClient

	# Base URL of the Wikipedia REST API.
	BASE_URL = "https://en.wikipedia.org/api/rest_v1"
	# URL parameters that are used to fetch the page content. 
	PAGE_URL = "/page/summary/"
	# URL parameters that are used to fetch random page from Wikipedia.
	RANDOM_PAGE_URL = "/page/random/summary"
	# URL parameters that are used to get featured articles.
	FEATURED_ARTICLE = "/feed/featured/"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wikipedia_rest_client-0.1.0 lib/wikipedia_rest_client/utils.rb