-
Notifications
You must be signed in to change notification settings - Fork 38
Configuration
George Kye edited this page Feb 16, 2016
·
4 revisions
This method currently holds the data relevant to building image URLs as well as the change key map.
To build an image URL, you will need 3 pieces of data. The base_url
, size
and file_path
. Simply combine them all and you will have a fully qualified URL. Here’s an example URL:
http://image.tmdb.org/t/p/w500/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg
Required Parameters | |
api_key |
ConfigurationMDB.configuration(apikey){
apiReturn in
let config = apiReturn.MBDBReturn as! ConfigurationMDB
print(config.base_url)
print(config.secure_base_url)
print(config.backdrop_sizes)
print(config.profile_sizes)
}