-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathstack.html
More file actions
executable file
·201 lines (158 loc) · 8.68 KB
/
stack.html
File metadata and controls
executable file
·201 lines (158 loc) · 8.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
layout: page
title: The API Stack
---
<style>
.stacklistingcontainer{
padding-left: 10px;
padding-right: 10px;
width:550px;
}
.stacklisting{
padding-left: 30px;
}
.stacklisting li{
list-style: none;
padding: 30px;
border: 0px solid #000;
}
</style>
<ul class="toolbar">
<li>{"<a href="http://theapistack.com/data/companies.json" title="JSON" target="_blank">JSON</a>"}</li>
<li>{"<a href="http:/developer.apievangelist.com" title="API" target="_blank">API</a>"}</li>
</ul>
<p>These are the companies that I keep a close eye on, and the APIs they are designing, deploying, and managing. When a company and its APIs show up in my research, I deeply profile their operations, something that includes creating Swagger 2.0 definitions for any relevant endpoints. After I profile a couple of companies, I usually publish any updated information here as my API Stack, so come back often, an monitor the central <a href="http://apisjson.org">APIs.json</a> files, and supporting Swagger defintions when present, in the <a href="https://github.com/kinlane/api-stack/tree/gh-pages/data">/data folder for the supporting Github repository</a>.</p>
{% raw %}
<script id="companyListingTemplate" type="text/template">
<tr>
<td align="left" valign="top" colspan="2">
<a href="" id="apisjson-icon-{{id}}"><img id="apisjson-icon-img-{{id}}" src="https://s3.amazonaws.com/kinlane-productions/api-commons/api-commons-icon.png" width="125" align="right" style="padding: 15px;" /></a>
<a href="" id="home-logo-link-{{id}}"><img src="{{logo}}" width="{{logo_width}}" align="left" style="padding: 15px;" /></a>
<a href="" id="home-name-link-{{id}}" style="color: #000;"><strong>{{name}}</strong></a><br />{{summary}}
</td>
</tr>
<tr>
<td align="center" valign="middle" colspan="2">
<a href="index.html" target="_blank" title="Website" id="home-icon-{{id}}"><img id="home-icon-img-{{id}}" src="https://s3.amazonaws.com/kinlane-productions/bw-icons/bw-home-icon.jpeg" width="35" style="display: inline; margin: 10px; width: 35px;" /></a>
<a href="index.html" target="_blank" title="Blog" id="blog-icon-{{id}}"><img id="blog-icon-img-{{id}}" src="https://s3.amazonaws.com/kinlane-productions/bw-icons/bw-blog-icon.png" width="35" style="display: inline; margin: 10px; width: 35px;" /></a>
<a href="index.html" target="_blank" title="Blog RSS" id="blogrss-icon-{{id}}"><img id="blogrss-icon-img-{{id}}" src="https://s3.amazonaws.com/kinlane-productions/bw-icons/bw-rss-icon.png" width="36" style="display: inline; margin: 10px; width: 36px;" /></a>
<a href="index.html" target="_blank" title="Twitter" id="twitter-icon-{{id}}"><img id="twitter-icon-img-{{id}}" src="https://s3.amazonaws.com/kinlane-productions/bw-icons/bw-twitter-icon.png" width="45" style="display: inline; margin: 10px; width: 45px;" /></a>
<a href="index.html" target="_blank" title="Githube" id="github-icon-{{id}}"><img id="github-icon-img-{{id}}" src="https://s3.amazonaws.com/kinlane-productions/bw-icons/bw-github-icon.png" width="50" style="display: inline; margin: 10px; width: 50px;" /></a>
</td>
</tr>
<tr>
<td align="center" id="apis-cell-{{id}}" colspan="2">
<!--<p align="center" style="font-size: 16px; font-weight: bold; text-decoration: underline;">APIs</p>-->
<table width="80%" align="center" cellpadding="3" id="apis-{{id}}" style="padding-left: 50px;">
</table>
</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
</script>
<script id="tagListingTemplate" type="text/template">
<tr>
<td style="background-color:#E6E6E6;" colspan="2"><h2>{{name}}</h2></td>
</tr>
<tr>
<td colspan="2">
<table cellpadding="4" cellspacing="5" width="100%" id="{{slug}}">
<tr>
<td><hr /></td>
</tr>
</table>
</td>
</tr>
</script>
{% endraw %}
<script type="text/javascript">
function changeTag(d)
{
v = d.value;
location.href = 'stack.html?tag=' + v;
}
</script>
<table id="companyListing" width="100%" cellpadding="2" cellspacing="2">
<tr>
<td width="55%" align="right" id="summary-count" style="font-size: 14px; font-weight: bold; padding-bottom: 10px;"></td>
<td align="left" id="tag-dropdown" style="padding-bottom: 10px;">
<select id="tag-select" onchange="changeTag(this);">
<option value="">Select Category</option>
</select>
</td>
</tr>
</table>
<script type="text/javascript">
function getUrlVar(key){
var result = new RegExp(key + "=([^&]*)", "i").exec(window.location.search);
return result && unescape(result[1]) || "";
}
function listCompanies()
{
if(getUrlVar('tag'))
{
defaultTag = getUrlVar('tag');
}
else
{
defaultTag = '3d-stack';
}
// alert("companies!");
$.getJSON('data/companies.json', function(companies) {
//alert('1');
$.getJSON('data/tags.json', function(data) {
//alert('2');
tagcount = data['tags'].length;
companycount = companies['company'].length;
document.getElementById("summary-count").innerHTML = companycount + ' companies in ' + tagcount + ' categories: ';
var select = document.getElementById("tag-select");
selectCount = 1;
$.each(data['tags'], function(key, val) {
tag = val['tag'];
name = val['name'];
slug = val['slug'];
var option = document.createElement('option');
option.text = name;
option.value = slug;
select.add(option, selectCount);
selectCount ++;
if(slug==defaultTag)
{
var template = $('#tagListingTemplate').html();
var html = Mustache.to_html(template, val);
$('#companyListing').append(html);
$.each(companies['company'], function(key2, val2) {
company = val2['name'];
tags = val2['tags'];
id = val2['id'];
website = val2['website'];
//apis = val2['apis'];
// hasapis = apis.length;
if(tags.indexOf(tag) > -1)
{
var template = $('#companyListingTemplate').html();
var html = Mustache.to_html(template, val2);
$('#' + slug).append(html);
if(website.length>0){ document.getElementById("home-logo-link-"+id).href=website; }
if(website.length>0){ document.getElementById("home-name-link-"+id).href=website; }
if(website.length>0){ document.getElementById("home-icon-"+id).href=website; } else { document.getElementById("home-icon-img-"+id).style.display='none'; }
blog = val2['blog'];
if(blog.length>0){ document.getElementById("blog-icon-"+id).href=blog; } else { document.getElementById("blog-icon-img-"+id).style.display='none'; }
blogrss = val2['blogrss'];
if(blog.length>0){ document.getElementById("blogrss-icon-"+id).href=blogrss; } else { document.getElementById("blogrss-icon-img-"+id).style.display='none'; }
twitter = val2['twitter'];
if(twitter.length>0){ document.getElementById("twitter-icon-"+id).href=twitter; } else { document.getElementById("twitter-icon-img-"+id).style.display='none'; }
github = val2['github'];
if(github.length>0){ document.getElementById("github-icon-"+id).href=github; } else { document.getElementById("github-icon-img-"+id).style.display='none'; }
apisjson = val2['apisjson'];
if(apisjson.length>0){ document.getElementById("apisjson-icon-"+id).href = '/apis-json-viewer.html?apisjson='+apisjson; } else { document.getElementById("apisjson-icon-img-"+id).style.display='none'; }
}
});
}
});
});
});
}
listCompanies();
</script>