A list of APIs for player data in Bungie's Destiny
API - Clan
| export const GoogleApi = function(opts) { | |
| opts = opts || {} | |
| const apiKey = opts.apiKey; | |
| const libraries = opts.libraries || []; | |
| const client = opts.client; | |
| const URL = 'https://maps.googleapis.com/maps/api/js'; | |
| const googleVersion = '3.22'; | |
| let script = null; |
| function (doc, req) { | |
| var findTheChanges = function (prevK, obj) { | |
| var arr = []; | |
| for (var key in obj) { | |
| var prevKey = prevK || ''; | |
| if (obj.hasOwnProperty(key)) { | |
| var value = obj[key]; | |
| // If its an Object dig deeper. | |
| if (value !== null && | |
| typeof value === 'object' && |
| import axios from "axios"; | |
| export default async function () { | |
| const { data: { id } } = await axios.get("//localhost:3000/id"); | |
| const { data: { group } } = await axios.get("//localhost:3000/group"); | |
| const { data: { name } } = await axios.get(`//localhost:3000/${group}/${id}`); | |
| console.log(name); // Michał | |
| } |