Package com.scaniatv

Class CustomAPI

java.lang.Object
com.scaniatv.CustomAPI

@Deprecated(since="3.24.2.0", forRemoval=true) public class CustomAPI extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
No longer exposed to scripts. Use $.api.request in scripts instead; $.customAPI is now provided by core/api.js and works as this class did
  • Method Details

    • instance

      public static CustomAPI instance()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getJSON

      public JSONObject getJSON(String url) throws JSONException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      JSONException
    • get

      public HttpResponse get(String url, String accept)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • get

      public HttpResponse get(String url)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • post

      public HttpResponse post(String url, String content)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • put

      public HttpResponse put(String url, String content)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • del

      public HttpResponse del(String url, String content)
      Deprecated, for removal: This API element is subject to removal in a future version.