-
Notifications
You must be signed in to change notification settings - Fork 38
People
George Kye edited this page Mar 9, 2016
·
10 revisions
Get the general person information for a specific id.
PersonMDB.person_id(apikey, personID: 287){
personRtn in
let person = personRtn.MBDBReturn as! PersonMDB
print(person.name)
print(person.also_known_as)
print(person.biography)
print(person.birthday)
print(person.homepage)
}
Get the external ids for a specific person id.
PersonMDB.externalIDS(apikey, personID: 287){
apiReturn in
let exIds = apiReturn.MBDBReturn as! ExternalIdsMDB
print(exIds.freebase_id)
print(exIds.imdb_id)
print(exIds.tvrage_id)
print(exIds.id)
}