public static string feeds_by_sport_id(string sport_id) { string url = "https://api.pinnaclesports.com/v1/feed?sportid={0}&oddsFormat=1"; url = string.Format(url, sport_id); return(PinHelper.get(url)); }
public static string feeds_by_sport_id(string sport_id, string last_time) { string url = "/v1/feed?sportid={0}&last={1}&odddsFormat=DECIMAL"; url = string.Format(url, sport_id, last_time); return(PinHelper.get(url)); }
public static string translation(string language, string txt) { string url = "/v1/translations?cultureCodes={0}&baseTexts={1}"; url = string.Format(url, language, txt); return(PinHelper.get(url)); }
public static string feeds(string last_time) { string url = "https://api.pinnaclesports.com/v1/feed?last={0}&oddsFormat=1"; url = string.Format(url, last_time); return(PinHelper.get(url)); }
public static string isruning(string elapsed, string state, string id) { string url = "/v1/isrunning?elapsed={0}&state={1}&id={2}"; url = string.Format(url, elapsed, state, id); return(PinHelper.get(url)); }
public static string line(string sport_id, string league_id, string event_id, string period_number, string bet_type) { string url = "v1/line?sportId={0}&leagueId={1}&eventId={2}&periodNumber={3}&betType={4}&oddsFormat=1"; url = string.Format(url, sport_id, league_id, event_id, period_number, bet_type); return(PinHelper.get(url)); }
public static string feeds() { string url = "https://api.pinnaclesports.com/v1/feed?oddsFormat=1"; return(PinHelper.get(url)); }
public static string currencies() { string url = "https://api.pinnaclesports.com/v1/currencies"; return(PinHelper.get(url)); }
public static string leagues() { string url = "https://api.pinnaclesports.com/v1/leagues?sportid=29"; return(PinHelper.get(url)); }
public static string bets() { string url = "/v1/bets"; return(PinHelper.get(url)); }
public static string balance() { string url = "/v1/client/balance"; return(PinHelper.get(url)); }