Advertisement
Guest User

Untitled

a guest
Mar 11th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.63 KB | None | 0 0
  1. Both: http://www.giantbomb.com/api/search?format=JSON&api_key=<REDACTED>&query=Mario&offset=64&resource_type=game&field_list=id
  2.  
  3. -and-
  4.  
  5. http://www.giantbomb.com/api/search?format=JSON&api_key=<REDACTED>&query=Mario&offset=0&resource_type=game&field_list=id
  6.  
  7. Return:  Note: [Offset property in JSON response never gets updated and id's returned are the same.]
  8.  
  9. {
  10.    "error": "OK",
  11.    "limit": 10,
  12.    "offset": 0,
  13.    "number_of_page_results": 63,
  14.    "number_of_total_results": 431,
  15.    "status_code": 1,
  16.    "results": [
  17.        {
  18.            "id": 22862,
  19.            "resource_type": "game"
  20.        },
  21.        {
  22.            "id": 19929,
  23.            "resource_type": "game"
  24.        },
  25.        {
  26.            "id": 6073,
  27.            "resource_type": "game"
  28.        },
  29.        {
  30.            "id": 46361,
  31.            "resource_type": "game"
  32.        },
  33.        {
  34.            "id": 544,
  35.            "resource_type": "game"
  36.        },
  37.        {
  38.            "id": 9306,
  39.            "resource_type": "game"
  40.        },
  41.        {
  42.            "id": 24924,
  43.            "resource_type": "game"
  44.        },
  45.        {
  46.            "id": 11206,
  47.            "resource_type": "game"
  48.        },
  49.        {
  50.            "id": 4287,
  51.            "resource_type": "game"
  52.        },
  53.        {
  54.            "id": 7314,
  55.            "resource_type": "game"
  56.        },
  57.        {
  58.            "id": 1085,
  59.            "resource_type": "franchise"
  60.        },
  61.        {
  62.            "id": 1,
  63.            "resource_type": "franchise"
  64.        },
  65.        {
  66.            "id": 511,
  67.            "resource_type": "franchise"
  68.        },
  69.        {
  70.            "id": 1073,
  71.            "resource_type": "franchise"
  72.        },
  73.        {
  74.            "id": 510,
  75.            "resource_type": "franchise"
  76.        },
  77.        {
  78.            "id": 2068,
  79.            "resource_type": "franchise"
  80.        },
  81.        {
  82.            "id": 505,
  83.            "resource_type": "franchise"
  84.        },
  85.        {
  86.            "id": 3670,
  87.            "resource_type": "franchise"
  88.        },
  89.        {
  90.            "id": 460,
  91.            "resource_type": "franchise"
  92.        },
  93.        {
  94.            "id": 507,
  95.            "resource_type": "franchise"
  96.        },
  97.        {
  98.            "id": 177,
  99.            "resource_type": "character"
  100.        },
  101.        {
  102.            "id": 24521,
  103.            "resource_type": "character"
  104.        },
  105.        {
  106.            "id": 11363,
  107.            "resource_type": "character"
  108.        },
  109.        {
  110.            "id": 4189,
  111.            "resource_type": "character"
  112.        },
  113.        {
  114.            "id": 15870,
  115.            "resource_type": "character"
  116.        },
  117.        {
  118.            "id": 7235,
  119.            "resource_type": "character"
  120.        },
  121.        {
  122.            "id": 27416,
  123.            "resource_type": "character"
  124.        },
  125.        {
  126.            "id": 14058,
  127.            "resource_type": "character"
  128.        },
  129.        {
  130.            "id": 14130,
  131.            "resource_type": "character"
  132.        },
  133.        {
  134.            "id": 13228,
  135.            "resource_type": "character"
  136.        },
  137.        {
  138.            "id": 3001,
  139.            "resource_type": "concept"
  140.        },
  141.        {
  142.            "id": 2715,
  143.            "resource_type": "concept"
  144.        },
  145.        {
  146.            "id": 2130,
  147.            "resource_type": "location"
  148.        },
  149.        {
  150.            "id": 2375,
  151.            "resource_type": "location"
  152.        },
  153.        {
  154.            "id": 2224,
  155.            "resource_type": "location"
  156.        },
  157.        {
  158.            "id": 3273,
  159.            "resource_type": "location"
  160.        },
  161.        {
  162.            "id": 35775,
  163.            "resource_type": "person"
  164.        },
  165.        {
  166.            "id": 70581,
  167.            "resource_type": "person"
  168.        },
  169.        {
  170.            "id": 85667,
  171.            "resource_type": "person"
  172.        },
  173.        {
  174.            "id": 78089,
  175.            "resource_type": "person"
  176.        },
  177.        {
  178.            "id": 20457,
  179.            "resource_type": "person"
  180.        },
  181.        {
  182.            "id": 71652,
  183.            "resource_type": "person"
  184.        },
  185.        {
  186.            "id": 79258,
  187.            "resource_type": "person"
  188.        },
  189.        {
  190.            "id": 70863,
  191.            "resource_type": "person"
  192.        },
  193.        {
  194.            "id": 39570,
  195.            "resource_type": "person"
  196.        },
  197.        {
  198.            "id": 188,
  199.            "resource_type": "person"
  200.        },
  201.        {
  202.            "id": 8587,
  203.            "resource_type": "company"
  204.        },
  205.        {
  206.            "id": 9219,
  207.            "resource_type": "company"
  208.        },
  209.        {
  210.            "id": 1227,
  211.            "resource_type": "company"
  212.        },
  213.        {
  214.            "id": 11180,
  215.            "resource_type": "video"
  216.        },
  217.        {
  218.            "id": 9886,
  219.            "resource_type": "video"
  220.        },
  221.        {
  222.            "id": 9680,
  223.            "resource_type": "video"
  224.        },
  225.        {
  226.            "id": 10909,
  227.            "resource_type": "video"
  228.        },
  229.        {
  230.            "id": 10714,
  231.            "resource_type": "video"
  232.        },
  233.        {
  234.            "id": 11656,
  235.            "resource_type": "video"
  236.        },
  237.        {
  238.            "id": 10642,
  239.            "resource_type": "video"
  240.        },
  241.        {
  242.            "id": 9281,
  243.            "resource_type": "video"
  244.        },
  245.        {
  246.            "id": 11708,
  247.            "resource_type": "video"
  248.        },
  249.        {
  250.            "id": 11762,
  251.            "resource_type": "video"
  252.        }
  253.    ],
  254.    "version": "1.0"
  255. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement