public async Task <FindResult> Find(string externalId, ExternalSource source) { var request = new Request($"find/{externalId}", BaseUri, HttpMethod.Get); request.FullUri = request.FullUri.AddQueryParameter("api_key", ApiToken); AddRetry(request); request.AddQueryString("external_source", source.ToString()); return(await Api.Request <FindResult>(request)); }
public static TMDbFindResult TMDbFind(string aId, ExternalSource aSourceId) { string lResponse = GetFromTmdb(string.Format(TmdbURIs.apiFind, aId, aSourceId.ToString())); return(lResponse.FromJSON <TMDbFindResult>()); }
public static TMDbFindResult TMDbFind(string id, ExternalSource sourceId) { string response = GetJson(string.Format(apiFind, id, sourceId.ToString())); return response.FromJson<TMDbFindResult>(); }
public static TMDbFindResult TMDbFind(string id, ExternalSource sourceId) { string response = GetJson(string.Format(apiFind, id, sourceId.ToString())); return(response.FromJson <TMDbFindResult>()); }