Skip to content

Commit

Permalink
Remove swagger (#659)
Browse files Browse the repository at this point in the history
Reminders:
- `kagglesdk` is generated by `kapigen` -- no review needed
- The `kaggle` directory is a copy of `src/kaggle` -- no need to review
both
  • Loading branch information
stevemessick authored Dec 17, 2024
1 parent 68c89f4 commit c214eb1
Show file tree
Hide file tree
Showing 64 changed files with 2,877 additions and 12,700 deletions.
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Kaggle API

CAUTION: Most of the files in this directory are obsolete and will be deleted. This file is valid,
as are `model_card.md`, `modelinstance_usage.md`, and `models_metadata.md`.

Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python 3.

Beta release - Kaggle reserves the right to modify the API functionality currently offered.
Expand Down
13 changes: 6 additions & 7 deletions kaggle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# coding=utf-8
from __future__ import absolute_import
from kaggle.api.kaggle_api_extended import KaggleApi
from kaggle.api_client import ApiClient

api = KaggleApi(ApiClient())
api.authenticate()
# coding=utf-8
from __future__ import absolute_import
from kaggle.api.kaggle_api_extended import KaggleApi

api = KaggleApi()
api.authenticate()
22 changes: 0 additions & 22 deletions kaggle/api/__init__.py

This file was deleted.

Loading

0 comments on commit c214eb1

Please # to comment.