gdcc / pyDataverse

Python module for Dataverse Software (dataverse.org).
http://pydataverse.readthedocs.io/
MIT License
63 stars 43 forks source link

Re-factor API module #71

Open skasberger opened 3 years ago

skasberger commented 3 years ago

Re-factor API module.

Requirements

ACTIONS

0. Pre-Requisites

1. Research

User stories

Function naming and structure

Architecture

class NativeApi():
  .__created_at
  .__api_token
  .__dataverse_version: beim ersten Aufruf runterladen und speichern
  .__dataverse_build: beim ersten Aufruf runterladen und speichern
  .api_token # @property
  .dataverse_version # @property
  .dataverse_build # @property

  def __init__(self):
    pass

class SwordApi():
  .__created_at
  .__api_token
  .__dataverse_version: beim ersten Aufruf runterladen und speichern
  .__dataverse_build: beim ersten Aufruf runterladen und speichern
  .api_token # @property
  .dataverse_version # @property
  .dataverse_build # @property

  def __init__(self):
    pass

2. Plan

3. Implement

4. Follow Ups

Check for architecture update of the API module.

pdurbin commented 5 months ago

As discussed during the 2024-02-14 meeting of the pyDataverse working group, we are closing old milestones in favor of a new project board at https://github.com/orgs/gdcc/projects/1 and removing issues (like this one) from those old milestones. Please feel free to join the working group! You can find us at https://py.gdcc.io and https://dataverse.zulipchat.com/#narrow/stream/377090-python