Nookipedia / nookipedia-api

Nookipedia's custom API for querying data from the Animal Crossing video game series.
https://api.nookipedia.com/
MIT License
42 stars 12 forks source link

Compartmentalized north and south critter data #28

Closed o-k-a-y closed 3 years ago

o-k-a-y commented 4 years ago

North and south critter data now have their own JSON inside the response JSON.

Old format:


    "name": "Sea Bass",
    "url": "https://nookipedia.com/wiki/Sea_Bass",
    "number": 59,
    "image_url": "https://dodo.ac/np/images/7/7f/Sea_Bass_NH_Icon.png",
    "location": "Sea",
    "shadow_size": "X-Large",
    "rarity": "",
    "total_catch": 0,
    "sell_nook": 400,
    "sell_cj": 600,
    "tank_width": 2.0,
    "tank_length": 1.0,
    "catchphrases": [
        "I caught a sea bass! No, wait-it's at least a C+!"
    ],
    "availability_north": [
        {
            "months": "All year",
            "time": "All day"
        }
    ],
    "availability_south": [
        {
            "months": "All year",
            "time": "All day"
        }
    ],
    "times_by_month_north": {
        "1": "All day",
        "2": "All day",
        "3": "All day",
        "4": "All day",
        "5": "All day",
        "6": "All day",
        "7": "All day",
        "8": "All day",
        "9": "All day",
        "10": "All day",
        "11": "All day",
        "12": "All day"
    },
    "times_by_month_south": {
        "1": "All day",
        "2": "All day",
        "3": "All day",
        "4": "All day",
        "5": "All day",
        "6": "All day",
        "7": "All day",
        "8": "All day",
        "9": "All day",
        "10": "All day",
        "11": "All day",
        "12": "All day"
    },
    "months_north": "All year",
    "months_south": "All year",
    "months_north_array": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12
    ],
    "months_south_array": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12
    ]
}```

New format:
```{
    "name": "Sea Bass",
    "url": "https://nookipedia.com/wiki/Sea_Bass",
    "number": 59,
    "image_url": "https://dodo.ac/np/images/7/7f/Sea_Bass_NH_Icon.png",
    "location": "Sea",
    "shadow_size": "X-Large",
    "rarity": "",
    "total_catch": 0,
    "sell_nook": 400,
    "sell_cj": 600,
    "tank_width": 2.0,
    "tank_length": 1.0,
    "catchphrases": [
        "I caught a sea bass! No, wait-it's at least a C+!"
    ],
    "north": {
        "availability_array": [
            {
                "months": "All year",
                "time": "All day"
            }
        ],
        "times_by_month": {
            "1": "All day",
            "2": "All day",
            "3": "All day",
            "4": "All day",
            "5": "All day",
            "6": "All day",
            "7": "All day",
            "8": "All day",
            "9": "All day",
            "10": "All day",
            "11": "All day",
            "12": "All day"
        },
        "months": "All year",
        "months_array": [
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12
        ]
    },
    "south": {
        "availability_array": [
            {
                "months": "All year",
                "time": "All day"
            }
        ],
        "times_by_month": {
            "1": "All day",
            "2": "All day",
            "3": "All day",
            "4": "All day",
            "5": "All day",
            "6": "All day",
            "7": "All day",
            "8": "All day",
            "9": "All day",
            "10": "All day",
            "11": "All day",
            "12": "All day"
        },
        "months": "All year",
        "months_array": [
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12
        ]
    }
}```