ashareapi 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ashareapi/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ """A股数据 API 官方 Python SDK
2
+
3
+ >>> from ashareapi import AShareAPI
4
+ >>> cli = AShareAPI() # 免费端点(quote/kline/hot/market-overview/changedist)无需 Key
5
+ >>> cli.quote("sh600667")
6
+
7
+ >>> cli = AShareAPI("ct-你的Key") # 付费端点需 Key(也读环境变量 ASHARE_API_KEY)
8
+ >>> cli.screen(preset="low_pe", limit=10)
9
+
10
+ 文档:https://ashareapi.com/docs · 端点清单:https://ashareapi.com/endpoints
11
+ """
12
+ from .client import AShareAPI
13
+ from .errors import (AShareError, APIError, AuthError, EmptyResultError, RateLimitError,
14
+ UpstreamError)
15
+
16
+ __version__ = "0.1.0"
17
+ __all__ = ["AShareAPI", "AShareError", "AuthError", "RateLimitError", "EmptyResultError",
18
+ "UpstreamError", "APIError", "__version__"]
ashareapi/_code.py ADDED
@@ -0,0 +1,41 @@
1
+ """股票代码格式归一化 —— 兼容多种写法,统一成 API 原生格式(sh600667)
2
+
3
+ 支持:
4
+ sh600667 原生(沪)
5
+ sz000001 原生(深)
6
+ 600667.SH 通用后缀风格(市场后缀)
7
+ 000001.SZ 通用后缀风格
8
+ 600667 纯 6 位(按首位推断:5/6→沪 0/3→深 4/8→北)
9
+ hk00700 / usAAPL 原样返回(前缀小写化)
10
+ """
11
+ from __future__ import annotations
12
+
13
+ import re
14
+
15
+ _SUFFIX = re.compile(r"^(\d{6})\.(SH|SZ|BJ)$", re.I)
16
+ _PREFIX = re.compile(r"^(SH|SZ|BJ|HK|US)(.+)$", re.I)
17
+ _BARE = re.compile(r"^\d{6}$")
18
+
19
+
20
+ def normalize_code(code: str) -> str:
21
+ """把各种代码写法统一成 API 原生格式;认不出来就原样返回(让 API 报错,不猜)"""
22
+ c = (code or "").strip()
23
+ if not c:
24
+ return c
25
+
26
+ m = _SUFFIX.match(c) # 600667.SH → sh600667
27
+ if m:
28
+ return m.group(2).lower() + m.group(1)
29
+
30
+ m = _PREFIX.match(c) # SH600667 → sh600667(前缀小写,后缀原样)
31
+ if m:
32
+ return m.group(1).lower() + m.group(2)
33
+
34
+ if _BARE.match(c): # 纯 6 位 → 按首位推断市场
35
+ if c[0] in "56":
36
+ return "sh" + c
37
+ if c[0] in "03":
38
+ return "sz" + c
39
+ if c[0] in "48":
40
+ return "bj" + c
41
+ return c
ashareapi/client.py ADDED
@@ -0,0 +1,238 @@
1
+ """核心客户端(M1 MVP)—— 认证 / 请求 / 重试 / 信封解析 / 端点方法"""
2
+ from __future__ import annotations
3
+
4
+ import os
5
+ import time
6
+
7
+ import requests
8
+
9
+ from ._code import normalize_code
10
+ from .errors import APIError, AuthError, EmptyResultError, RateLimitError, UpstreamError
11
+
12
+ __version__ = "0.1.0"
13
+
14
+ DEFAULT_BASE = "https://api.ashareapi.com"
15
+ FREE_ENDPOINTS = (
16
+ "/v1/quote", "/v1/kline", "/v1/hot", "/v1/market-overview", "/v1/changedist", # 5 个数据端点
17
+ "/v1/health", "/v1/challenge", # 2 个工具端点(实测匿名 200)
18
+ )
19
+
20
+
21
+ class AShareAPI:
22
+ """A股数据 API 客户端
23
+
24
+ :param api_key: API Key(默认读环境变量 ``ASHARE_API_KEY``;**免费端点可不传**)
25
+ :param base_url: 服务地址(默认官方 ``https://api.ashareapi.com``)
26
+ :param timeout: 单请求超时(秒)
27
+ :param retries: ``429``/``5xx``/网络错误的**重试次数**(指数退避 0.5s/1.5s/4s)
28
+ :param raw: ``True`` → 返回**原始信封** dict(含 ``endpoint/tier/elapsed_ms/source``),不转 DataFrame
29
+ """
30
+
31
+ def __init__(self, api_key: str | None = None, base_url: str = DEFAULT_BASE,
32
+ timeout: int = 30, retries: int = 3, raw: bool = False):
33
+ self.api_key = (api_key or os.environ.get("ASHARE_API_KEY", "") or "").strip()
34
+ self.base_url = (base_url or DEFAULT_BASE).rstrip("/")
35
+ self.timeout = timeout
36
+ self.retries = max(1, int(retries))
37
+ self.raw = raw
38
+
39
+ # ── 内部 ──────────────────────────────────────────────
40
+ def _request(self, path: str, **params) -> dict:
41
+ params = {k: v for k, v in params.items() if v not in (None, "")}
42
+ headers = {"User-Agent": "ashareapi-python/%s" % __version__}
43
+ if self.api_key:
44
+ headers["Authorization"] = "Bearer " + self.api_key
45
+ elif path not in FREE_ENDPOINTS:
46
+ raise AuthError(
47
+ "端点 %s 需要 API Key(免 Key 端点:%s)。获取:https://ashareapi.com/pricing"
48
+ % (path, " / ".join(FREE_ENDPOINTS)))
49
+ last_err = None
50
+ for i in range(self.retries):
51
+ try:
52
+ r = requests.get(self.base_url + path, params=params, headers=headers,
53
+ timeout=self.timeout)
54
+ except requests.RequestException as e:
55
+ last_err = APIError("网络错误:%r" % (e,))
56
+ time.sleep(0.5 * (3 ** i))
57
+ continue
58
+ if r.status_code == 401:
59
+ raise AuthError("Key 无效或未携带(401)—— 检查 ASHARE_API_KEY")
60
+ if r.status_code == 429:
61
+ last_err = RateLimitError(
62
+ "超频(429):降频重试;或解一次 PoW 挑战提额到 60 次/分"
63
+ "(GET /v1/challenge);或升级档位")
64
+ time.sleep(0.5 * (3 ** i))
65
+ continue
66
+ if r.status_code >= 500:
67
+ last_err = APIError("服务端 %s" % r.status_code)
68
+ time.sleep(0.5 * (3 ** i))
69
+ continue
70
+ try:
71
+ body = r.json()
72
+ except ValueError:
73
+ raise APIError("响应不是 JSON(HTTP %s):%s" % (r.status_code, r.text[:120]))
74
+ # 只有**显式** ok=false 才算上游失败(已自动换源且不扣次数)→ 重试无意义
75
+ # (health / challenge 等工具端点不走统一信封、没有 ok 字段 → 不能误判)
76
+ if body.get("ok") is False:
77
+ data = body.get("data")
78
+ # 空容器 = "当前无数据"(如当天无大宗交易)→ 与"取数失败"区分开
79
+ if data is None or data == [] or data == {}:
80
+ raise EmptyResultError(
81
+ "当前无数据(非失败):%s —— 不计费,稍后重试或换条件"
82
+ % body.get("endpoint", path))
83
+ raise UpstreamError(str(data or "上游取数失败(已自动换源,重试一次通常可好)"))
84
+ return body
85
+ raise last_err or APIError("重试 %d 次仍失败" % self.retries)
86
+
87
+ def _frame(self, body: dict):
88
+ """统一信封 → ``pandas.DataFrame``(未装 pandas 则退回 ``list[dict]``)
89
+
90
+ 2026-09-23 实测:部分端点 ``data`` 直接是数组,部分是 Markdown 但都带 **``structured``**
91
+ 结构化数组 → 这里**零 Markdown 解析** ✓
92
+ """
93
+ if self.raw:
94
+ return body
95
+ rows = body.get("structured")
96
+ if rows is None and isinstance(body.get("data"), list):
97
+ rows = body["data"]
98
+ if rows is None:
99
+ return body.get("data", body) # 无表格字段(health / challenge / usage)→ 返回整个信封
100
+ try:
101
+ import pandas as pd
102
+ return pd.DataFrame(rows)
103
+ except ImportError:
104
+ return rows # 未装 pandas 同样可用
105
+
106
+ def _get(self, path: str, **params):
107
+ return self._frame(self._request(path, **params))
108
+
109
+ # ── 端点方法(30 个 —— 签名对齐 /openapi.json)─────────────────────
110
+ # 【基础 / 工具】
111
+ def health(self):
112
+ """服务健康检查(数据源就绪状态)"""
113
+ return self._get("/v1/health")
114
+
115
+ def usage(self):
116
+ """查询自身用量与额度"""
117
+ return self._get("/v1/usage")
118
+
119
+ def challenge(self, difficulty: int = 0):
120
+ """获取 PoW 挑战(**匿名提额**:解出后单次请求带 ``X-PoW`` 头,额度 5/分 → 60/分)"""
121
+ return self._get("/v1/challenge", difficulty=difficulty)
122
+
123
+ # 【行情】
124
+ def quote(self, code: str):
125
+ """实时行情快照。``code``: ``sh600667`` / ``000001.SZ`` / ``600667``"""
126
+ return self._get("/v1/quote", code=normalize_code(code))
127
+
128
+ def kline(self, code: str, period: str = "day", count: int = 30):
129
+ """K 线。``period``: ``day`` | ``week`` | ``month``"""
130
+ return self._get("/v1/kline", code=normalize_code(code), period=period, count=count)
131
+
132
+ def hot(self, limit: int = 30):
133
+ """全市场热搜榜"""
134
+ return self._get("/v1/hot", limit=limit)
135
+
136
+ def market_overview(self, type: str = "summary"):
137
+ """市场总览。``type``: ``summary`` | ``trade`` | ``interval`` | ``technical`` | ``valuation`` | ``rotation``"""
138
+ return self._get("/v1/market-overview", type=type)
139
+
140
+ def changedist(self):
141
+ """涨跌分布(市场广度)"""
142
+ return self._get("/v1/changedist")
143
+
144
+ # 【财务 / 公司】
145
+ def finance(self, code: str, num: int = 4):
146
+ """三大报表(利润表 / 资产负债表 / 现金流量表)"""
147
+ return self._get("/v1/finance", code=normalize_code(code), num=num)
148
+
149
+ def profile(self, code: str):
150
+ """公司简况(上市日期 / 主营业务 / 行业)"""
151
+ return self._get("/v1/profile", code=normalize_code(code))
152
+
153
+ def dividend(self, code: str, years: int = 3):
154
+ """分红送转历史"""
155
+ return self._get("/v1/dividend", code=normalize_code(code), years=years)
156
+
157
+ def shareholder(self, code: str):
158
+ """股东研究(十大股东 / 股东户数 / 机构持仓)"""
159
+ return self._get("/v1/shareholder", code=normalize_code(code))
160
+
161
+ def chip(self, code: str):
162
+ """筹码分布 / 成本"""
163
+ return self._get("/v1/chip", code=normalize_code(code))
164
+
165
+ def events(self, code: str):
166
+ """个股事件标签(42 类)"""
167
+ return self._get("/v1/events", code=normalize_code(code))
168
+
169
+ # 【资金 / 交易】
170
+ def fund(self, code: str):
171
+ """个股资金 + 龙虎榜 + 大宗 + 两融(综合,一接口全有)"""
172
+ return self._get("/v1/fund", code=normalize_code(code))
173
+
174
+ def lhb(self, type: str = "institution", date: str = ""):
175
+ """龙虎榜分榜。``type``: ``institution``(机构)| ``hotmoney``(游资)| ``activeseat``(活跃席位)"""
176
+ return self._get("/v1/lhb", type=type, date=date)
177
+
178
+ def margin_trade(self, code: str = "", date: str = ""):
179
+ """融资融券明细。``code`` 留空 = 全市场"""
180
+ return self._get("/v1/margin-trade", code=normalize_code(code), date=date)
181
+
182
+ def block_trade(self, code: str = "", date: str = ""):
183
+ """大宗交易。``code`` 留空 = 全市场"""
184
+ return self._get("/v1/block-trade", code=normalize_code(code), date=date)
185
+
186
+ # 【指标 / 选股】
187
+ def technical(self, code: str):
188
+ """技术指标:MA / MACD / KDJ / RSI / BOLL"""
189
+ return self._get("/v1/technical", code=normalize_code(code))
190
+
191
+ def screen(self, expr: str = "", preset: str = "", limit: int = 20, orderby: str = "",
192
+ desc: bool = True, market: str = ""):
193
+ """因子选股。``expr`` 如 ``"intersect([PE_TTM > 0, PE_TTM < 20, ROETTM > 15])"``;``preset`` 如 ``low_pe``"""
194
+ return self._get("/v1/screen", expr=expr, preset=preset, limit=limit, orderby=orderby,
195
+ desc=str(bool(desc)).lower(), market=market)
196
+
197
+ # 【板块 / 产业链】
198
+ def sector(self):
199
+ """板块行情榜(行业 / 概念 / 地域 + 领涨股)"""
200
+ return self._get("/v1/sector")
201
+
202
+ def sector_valuation(self, code: str):
203
+ """板块估值(PE/PB/PS + 历史百分位)。``code`` 如 ``pt01801780``"""
204
+ return self._get("/v1/sector-valuation", code=normalize_code(code))
205
+
206
+ def industry_chain(self, mode: str = "graph", topic: str = "", code: str = ""):
207
+ """产业链。``mode``: ``list``(主题清单)| ``graph``(图谱,配 ``topic``)| ``stock``(个股定位,配 ``code``)"""
208
+ return self._get("/v1/industry-chain", mode=mode, topic=topic, code=normalize_code(code))
209
+
210
+ # 【宏观 / 固收 / ETF / 新股】
211
+ def macro(self, region: str = "cn", names: str = ""):
212
+ """宏观数据。``region``: ``cn`` | ``us`` | ``jp`` | ``eu`` | ``hk``"""
213
+ return self._get("/v1/macro", region=region, names=names)
214
+
215
+ def bond(self, code: str):
216
+ """可转债条款(溢价率 / 双低 / 强赎触发 / 评级)"""
217
+ return self._get("/v1/bond", code=normalize_code(code))
218
+
219
+ def etf(self, code: str):
220
+ """ETF 概览(行情 / 规模 / 折溢价 / 资金流)"""
221
+ return self._get("/v1/etf", code=normalize_code(code))
222
+
223
+ def ipo(self, days: int = 15):
224
+ """新股日历(发行 / 申购 / 中签 / 上市)"""
225
+ return self._get("/v1/ipo", days=days)
226
+
227
+ # 【日历 / 研报 / 搜索】
228
+ def calendar(self, date: str = "", limit: int = 20):
229
+ """投资日历(个股事件:分红派息 / 解禁 / 财报)"""
230
+ return self._get("/v1/calendar", date=date, limit=limit)
231
+
232
+ def dehydrated(self, mode: str = "list", symbol: str = "", limit: int = 10):
233
+ """脱水研报。``mode``: ``list`` | ``detail``(配 ``symbol``)"""
234
+ return self._get("/v1/dehydrated", mode=mode, symbol=symbol, limit=limit)
235
+
236
+ def search(self, q: str):
237
+ """搜索股票 / 基金 / 板块(消歧)"""
238
+ return self._get("/v1/search", q=q)
ashareapi/errors.py ADDED
@@ -0,0 +1,29 @@
1
+ """异常类型(按用户能采取的动作分类,不只按 HTTP 码)"""
2
+
3
+
4
+ class AShareError(Exception):
5
+ """SDK 异常基类"""
6
+
7
+
8
+ class AuthError(AShareError):
9
+ """401 / 缺 Key —— 动作:检查 ASHARE_API_KEY 或去 https://ashareapi.com/pricing 获取"""
10
+
11
+
12
+ class RateLimitError(AShareError):
13
+ """429 超频 —— 动作:降频重试;或解一次 PoW 挑战提额到 60 次/分(GET /v1/challenge);或升级档位"""
14
+
15
+
16
+ class EmptyResultError(AShareError):
17
+ """当前**无数据**(≠ 取数失败)—— 如当天无大宗交易。
18
+
19
+ **不扣调用次数**;稍后重试或换条件即可。
20
+ 区别于 :class:`UpstreamError`(上游取数失败、已自动换源)。
21
+ """
22
+
23
+
24
+ class UpstreamError(AShareError):
25
+ """ok=false(上游取数失败)—— 我们已**自动换源且不扣次数**,动作:重试一次通常就好"""
26
+
27
+
28
+ class APIError(AShareError):
29
+ """5xx / 其他非预期响应"""
@@ -0,0 +1,107 @@
1
+ Metadata-Version: 2.4
2
+ Name: ashareapi
3
+ Version: 0.1.0
4
+ Summary: A股数据 API 官方 Python SDK —— 行情 / K线 / 财务 / 资金 / 龙虎榜 / 板块 / 因子选股(含 MCP)
5
+ Author: ashareapi
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://ashareapi.com
8
+ Project-URL: Documentation, https://ashareapi.com/docs
9
+ Project-URL: Endpoint list, https://ashareapi.com/endpoints
10
+ Keywords: a-share,ashare,stock,quant,finance,mcp,stock-data-api,financial-data-api
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Topic :: Office/Business :: Financial :: Investment
13
+ Classifier: Operating System :: OS Independent
14
+ Requires-Python: >=3.9
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: requests>=2.28
18
+ Provides-Extra: pandas
19
+ Requires-Dist: pandas>=1.5; extra == "pandas"
20
+ Provides-Extra: dev
21
+ Requires-Dist: pytest>=7; extra == "dev"
22
+ Requires-Dist: build; extra == "dev"
23
+ Requires-Dist: twine; extra == "dev"
24
+ Dynamic: license-file
25
+
26
+ # ashareapi — A股数据 API 官方 Python SDK
27
+
28
+ **行情 / K线 / 财务 / 资金 / 龙虎榜 / 板块 / 因子选股** —— 30 个端点,**免费端点无需注册**。
29
+
30
+ ```bash
31
+ pip install ashareapi # 基础(返回 list[dict])
32
+ pip install "ashareapi[pandas]" # 加 DataFrame 支持(推荐)
33
+ ```
34
+
35
+ ## 30 秒上手
36
+
37
+ ```python
38
+ from ashareapi import AShareAPI
39
+
40
+ cli = AShareAPI() # 免费端点无需 Key
41
+ df = cli.quote("sh600667") # 实时行情 → DataFrame
42
+ print(df[["date", "last", "exchange"]])
43
+
44
+ print(cli.kline("600667.SH", count=5)) # 代码格式随便写(自动归一化)
45
+ print(cli.hot(limit=10)) # 热搜榜
46
+ ```
47
+
48
+ **付费端点**(财务 / 资金 / 龙虎榜 / 选股等)需要 Key([获取](https://ashareapi.com/pricing),¥9.9 起):
49
+
50
+ ```python
51
+ cli = AShareAPI("ct-你的Key") # 或设环境变量 ASHARE_API_KEY
52
+ df = cli.screen(preset="low_pe", orderby="ROETTM", limit=10)
53
+ print(df.head())
54
+ ```
55
+
56
+ ## 为什么用它
57
+
58
+ - **免费端点真的免 Key**:`quote / kline / hot / market-overview / changedist` 直接调,无需注册
59
+ - **代码格式兼容**:`sh600667` / `600667.SH` / `600667` 都认(不同写法的项目都能直接用)
60
+ - **多源自动切换**:后端 67 个数据源互为备份,取数失败会自动换源且**不扣调用次数**
61
+ - **错误分类清楚**:`AuthError` / `RateLimitError` / `UpstreamError` / `EmptyResultError`(无数据 ≠ 失败)—— 每类都告诉你该做什么
62
+ - **pandas 可选**:不想装 pandas 也能用(返回 `list[dict]`)
63
+
64
+ ## 端点一览
65
+
66
+ | 方法 | 说明 | 免 Key |
67
+ |---|---|---|
68
+ | `quote(code)` | 实时行情快照 | ✅ |
69
+ | `kline(code, period, count)` | K 线(日/周/月)| ✅ |
70
+ | `hot(limit)` | 热搜榜 | ✅ |
71
+ | `market_overview(type)` | 市场总览(画像/估值/风格轮动)| ✅ |
72
+ | `changedist()` | 涨跌分布(市场广度)| ✅ |
73
+ | `finance(code, num)` | 三大报表 | — |
74
+ | `fund(code)` | 资金流 + 龙虎榜 + 大宗 + 两融 | — |
75
+ | `technical(code)` | MA / MACD / KDJ / RSI / BOLL | — |
76
+ | `lhb(type)` | 龙虎榜分榜(机构 / 游资 / 活跃席位)| — |
77
+ | `screen(expr/preset, ...)` | 因子选股 | — |
78
+ | `search(q)` | 搜索消歧 | — |
79
+
80
+ (完整 30 端点见 [端点清单](https://ashareapi.com/endpoints))
81
+
82
+ ## 错误处理
83
+
84
+ ```python
85
+ from ashareapi import AShareAPI, AuthError, RateLimitError, UpstreamError, EmptyResultError
86
+
87
+ cli = AShareAPI()
88
+ try:
89
+ df = cli.fund("sh600667")
90
+ except AuthError as e: # 401 / 缺 Key → 去拿 Key
91
+ print(e)
92
+ except RateLimitError as e: # 429 → 降频 / 解 PoW 挑战提额 / 升级档位
93
+ print(e)
94
+ except UpstreamError as e: # 上游取数失败(已自动换源、不扣次数)→ 重试一次通常就好
95
+ print(e)
96
+ except EmptyResultError as e: # 当前无数据(如当天无大宗交易)→ 不计费,换条件或稍后再试
97
+ print(e)
98
+ ```
99
+
100
+ ## 也用 AI Agent(MCP)
101
+
102
+ 除了 Python,我们还提供 **MCP 服务器**(Streamable HTTP)—— 一条 URL 接进 Claude Code / Cursor / Codex 等 19 家客户端:
103
+ **https://ashareapi.com/mcp**
104
+
105
+ ## License
106
+
107
+ MIT · 数据仅供研究参考,不构成投资建议
@@ -0,0 +1,9 @@
1
+ ashareapi/__init__.py,sha256=ssm6TeaBU9Op7O3uAFLI0cip8mJ3gc8p7fe68laOvuQ,771
2
+ ashareapi/_code.py,sha256=InXKmeGvHa89vfk06vfvPywSId6rPrYHlcsPexxcG7w,1364
3
+ ashareapi/client.py,sha256=mklSWxqJ7ezBKCcXSbqX2KOy-eSWt_lYkqKFEKPOUAM,11337
4
+ ashareapi/errors.py,sha256=iydx9U0yZDJt0mki1e-Ac21wuniSuFlVkDPIvW4cPQI,957
5
+ ashareapi-0.1.0.dist-info/licenses/LICENSE,sha256=qi5c9h_E3tE2cxK649EII19fKD-tNstMA1aTi-b1Gd0,1066
6
+ ashareapi-0.1.0.dist-info/METADATA,sha256=DWueMVfW8h5eJGk8n1T1lGCo3nrvR0TvagkyFQ9Ijic,4314
7
+ ashareapi-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
8
+ ashareapi-0.1.0.dist-info/top_level.txt,sha256=MxVnDSBx3hJXu-xFdz3sMEumReus-_rlVHVT7nVEzo4,10
9
+ ashareapi-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ashareapi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ ashareapi