api

    1熱度

    1回答

    我怎樣才能縮短這部分代碼,而不是將所有選項都添加到適用於所有可能情況的天氣圖標? if (desc == "clear sky") { $('div.clear').removeClass('hide'); } else if (desc == "broken clouds") { $('div.cloudy').removeClass('hide');

    -1熱度

    1回答

    我期待開發涉及房地產的跨平臺移動應用程序。我看過Zillow的API,我認爲這將是我使用的API之一。 https://www.zillow.com/howto/api/APIOverview.htm 我的問題是,如果我要利用自己的API,以及那些其他一些房地產網站,它會更有意義,我直接從移動應用程序調用這些API,或將它更有意義的是有一個代理服務器,可能與我自己的數據庫編譯從這些網站,移動應用程

    1熱度

    1回答

    美好的一天,我建立一個簡單的應用程序,只有一個令牌獲取API數據,但我有未經授權的訪問錯誤... 有人可以幫助我弄清楚爲什麼我收到此錯誤? 401未授權 import { Component, ViewEncapsulation } from '@angular/core'; import { Http, Response } from '@angular/http'; import 'rxj

    0熱度

    1回答

    我想在與Python的Instagram的簡單的例子,沿着沿其readme: api = InstagramAPI(client_id=client_id, client_secret=client_secret) popular_media = api.media_popular(count=20) for media in popular_media: print media.images['

    0熱度

    1回答

    我想打印使用API​​的Dropbox文件共享的鏈接=蟒蛇 我的代碼: import requests import json url = "https://api.dropboxapi.com/2/sharing/create_shared_link" headers = { "Authorization": "Bearer ACCESS_TOKEN_REDACTED",

    0熱度

    1回答

    我正在從python API運行SQL查詢,並且想要收集Structured(列標題下的數據)標題下的數據.CSV格式。 這是迄今爲止我的代碼。 sql = "SELECT id,author From researches WHERE id < 20 " cursor.execute(sql) data = cursor.fetchall() print (data) with open

    0熱度

    1回答

    我在郵遞員測試這個。調用GET link 我正在使用Twitter使用Firebase身份驗證進行OAuth登錄。這使我獲得用戶access token和access secret。 我想在客戶端進行API調用,以檢索用戶時間軸上的當前用戶狀態。但只是access token和access secret我得到400錯誤狀態code 215(錯誤認證數據)。如果我包含應用程序consumer key

    0熱度

    1回答

    我想根據其電子郵件的域名來確定用戶來自哪個大學。我正在使用以下API:https://github.com/Hipo/university-domains-list-api,我工作的一些參數。 /search?name=Middle 就像我期望的那樣工作。當我運行 http://universities.hipolabs.com/search?domain=upenn.edu 我想這回 [

    0熱度

    1回答

    我相信這很簡單,但我一直盯着它幾個小時...... 我有一個反應選元素,我可以添加或編輯和更新,但無法弄清楚如何清除select並將DB字段設置爲null。 組件 selectPriority(priority) { this.updateAttribute("priorityId", priority.value) this.updateAttribute("prio

    0熱度

    1回答

    我正在使用OllyDbg爲我的實驗任務逆向工程一個可執行文件。我的教授問了一個問題,要求提供負責將輸出寫入命令提示符的API。使用的DLLS是ntdll,kernel32,msvcr100