Skip to content

Instantly share code, notes, and snippets.

@dmussaku
dmussaku / data_engineering_assingment_spacex.md
Last active March 26, 2024 16:53
Assignment: Building a Data Pipeline for SpaceX Launch Data

Assignment: Building a Data Pipeline for SpaceX Launch Data

Objective: Design and document a robust data pipeline to fetch launch data from the SpaceX API (https://api.spacexdata.com/v5/launches/)

Requirements:

  1. Develop a high-level design document outlining the architecture and components of the proposed data pipeline.
  2. Identify and describe a strategy for interacting with the SpaceX API to fetch launch data. https://api.spacexdata.com/v5/launches/
  3. Propose a strategy for periodic data polling, specifying the intervals and justifying your choice based on efficiency and relevance.
@dmussaku
dmussaku / users.py
Last active July 29, 2021 10:01
A DH rest framework view to CRUD users. Interview question to review code
import base64
from datetime import datetime
from django.contrib.auth.models import User
from dh_rest_framework import HTTP_HEADER_ENCODING
from dh_rest_framework.authtoken.models import Token
from dh_rest_framework import response, views
from dh_rest_framework.compat import authenticate