|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <title>MC-API</title> |
| 6 | + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 8 | + <meta name="description" content="A collection of Minecraft related API's"> |
| 9 | + <meta name="keywords" content="uuid,minecraft,mojang,api,mcapi,mc-api,minecraft-api,minecraftapi,uuidapi,imnjb,bukkit,spigot,spigotmc,username"> |
| 10 | + <link rel="stylesheet" type="text/css" href="//cdn.imnjb.me/libs/bootswatch/3.3.1.2/readable/bootstrap.min.css"> |
| 11 | + <link rel="stylesheet" type="text/css" href="/style/styles.css"> |
| 12 | + <link rel="stylesheet" type="text/css" href="/style/flags.css"> |
| 13 | + <link rel="shortcut icon" href="https://raw.githubusercontent.com/MC-API/static/master/assets/favicon.ico"/> |
| 14 | +</head> |
| 15 | +<body> |
| 16 | + <div class="container card"> |
| 17 | + <div class="content"> |
| 18 | + <h2><i class="fa fa-code"></i> MC-API |
| 19 | + <div class="pull-right"> |
| 20 | + <a href="/#supportus" class="btn btn-success"><i class="fa fa-paypal"></i> Contribute via PayPal</a> |
| 21 | + </div> |
| 22 | + </h2> |
| 23 | + <hr> |
| 24 | + <br> |
| 25 | + <p class="hello" id="simple">UUID to Profile Properties</p> |
| 26 | + <p>This endpoint provides the Profile Session Properties of a given uuid. Returns <kbd>JSON</kbd> or <kbd>CSV</kbd> cached for 15 minutes.</p> |
| 27 | + <p class="api-list">Example Usage</p> |
| 28 | + <p><code>https://api.#REGION#.mc-api.net/properties/a8889e3068b84ce8963f4ea259c3ebe3</code> would return:</p> |
| 29 | + <pre> |
| 30 | +{ |
| 31 | + "query":"a8889e3068b84ce8963f4ea259c3ebe3", |
| 32 | + "source":"mojang", |
| 33 | + "properties":{ |
| 34 | + "name":"textures", |
| 35 | + "value":"eyJ0aW1lc3RhbXAiOjE0NjMzNzc1Nzg4NDksInByb2ZpbGVJZCI6ImE4ODg5ZTMwNjhiODRjZTg5NjNmNGVhMjU5YzNlYmUzIiwicHJvZmlsZU5hbWUiOiJuamJfc2FpZCIsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9hZWU5ZDI0MzgyYWRmOGMyNjQ5ODEyYTliNDZkNTc3M2VhZWQxMzIzN2ZjYTk5MmJhOGZlODVjNjkzZDk4MTEifX19" |
| 36 | + }, |
| 37 | + "properties_decoded":{ |
| 38 | + "timestamp":1463377578849, |
| 39 | + "profileId":"a8889e3068b84ce8963f4ea259c3ebe3", |
| 40 | + "profileName":"njb_said", |
| 41 | + "textures":{ |
| 42 | + "SKIN":{ |
| 43 | + "url":"http://textures.minecraft.net/texture/aee9d24382adf8c2649812a9b46d5773eaed13237fca992ba8fe85c693d9811" |
| 44 | + } |
| 45 | + } |
| 46 | + }, |
| 47 | + "took":131 |
| 48 | +} |
| 49 | + </pre> |
| 50 | + <p class="rules">Explanation</p> |
| 51 | + <table class="table table-condensed"> |
| 52 | + <tr class="bold"> |
| 53 | + <td width="20%">Field</td> |
| 54 | + <td width="35%">Type</td> |
| 55 | + <td width="45%">Description</td> |
| 56 | + </tr> |
| 57 | + |
| 58 | + <tr> |
| 59 | + <td>"query"</td> |
| 60 | + <td>String</td> |
| 61 | + <td>The original query.</td> |
| 62 | + </tr> |
| 63 | + <tr> |
| 64 | + <td>"source"</td> |
| 65 | + <td>String</td> |
| 66 | + <td>If the response was from mojang or cached.</td> |
| 67 | + </tr> |
| 68 | + <tr> |
| 69 | + <td>"properties"</td> |
| 70 | + <td>JsonObject</td> |
| 71 | + <td>The properties field from mojang.</td> |
| 72 | + </tr> |
| 73 | + <tr> |
| 74 | + <td>"properties_decoded"</td> |
| 75 | + <td>JsonObject</td> |
| 76 | + <td>The properties 'value' decoded from base64.</td> |
| 77 | + </tr> |
| 78 | + <tr> |
| 79 | + <td>"took"</td> |
| 80 | + <td>Integer</td> |
| 81 | + <td>How long the query took.</td> |
| 82 | + </tr> |
| 83 | + </table> |
| 84 | + </div> |
| 85 | + <hr> |
| 86 | + <footer> |
| 87 | + <ul class="nav nav-pills"> |
| 88 | + <li class="text-muted disclaimer">MC-API is not affiliated with Mojang AB, Microsoft or Minecraft.net</li> |
| 89 | + <li class="pull-right"> |
| 90 | + <a>© #YEAR# mc-api.net</a> |
| 91 | + </li> |
| 92 | + <li class="pull-right"> |
| 93 | + <a target="_blank" href="https://github.com/mc-api/issues"><i class="fa fa-bug"></i> Bug Report</a> |
| 94 | + </li> |
| 95 | + </ul> |
| 96 | + </footer> |
| 97 | + </div> |
| 98 | + <br> |
| 99 | + <script type="text/javascript" src="//cdn.imnjb.me/libs/jquery/2.1.1/jquery.min.js"></script> |
| 100 | + <script type="text/javascript" src="//cdn.imnjb.me/libs/bootstrap/3.3.1/js/bootstrap.min.js"></script> |
| 101 | + <script data-cfasync="false"> |
| 102 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 103 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 104 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 105 | + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| 106 | + |
| 107 | + ga('create', '#GA#', 'auto'); |
| 108 | + ga('send', 'pageview'); |
| 109 | + </script> |
| 110 | +</body> |
| 111 | +</html> |
0 commit comments