►
From YouTube: Getting Started with DataHub's APIs
Description
Hyejin Yoon (Acryl Data) gives an overview of DataHub's various APIs and new use-case-oriented guides.
Learn more about DataHub: https://datahubproject.io
Join us on Slack: http://slack.datahubproject.io
Follow us on Twitter: https://twitter.com/datahubproject
A
Hey
everyone,
I'm
hajin,
Yoon
I'm,
a
developer
relations
engineer
at
acryl
data
I'm
really
excited
to
introduce
getting
started
with
data
Hub
apis
today.
So
data
of
API
is
a
programmatic
way
to
manipulate
metadata
on
data
hub.
So,
while
using
GitHub
data
Hub,
you
may
Wonder
okay,
now
I
know
how
to
create,
add
or
edit
tags
terms,
all
the
entities
in
UI
but,
for
example,
I
want
to
create
100
and
videos
at
once
or
I
want
to
add
tags
on
data
set
that
Miss
certain
conditions.
How
do
I
do
it?
A
How
do
I
do
it
programmatically,
that's
where
our
API
comes
in,
so
it
allows
to
make
it
play
metadata
with
great
flexibility
and
scalability,
so
we
offer
several
apis.
For
example,
we
have
graphql
python,
SDK,
Java,
SDK,
restly,
open
API,
and
each
API
has
a
little
bit
different
format
and
usage.
But
unfortunately
we
didn't
have
much
a
integrated
form
of
use
case,
oriented
guys
so
far,
but
I'm
really
thrilled
to
announce
our
new
collection
of
use
case
oriented
guys
here.
A
So
if
you
go
to
docs
a
data
API
and
which
data
Hub
is
for
me,
you
can
see
the
brief
explanations
of
each
API
and
I
really
personally
love
this.
We
have
this
new
data.
Hub
API
comparison,
so
here
you
can
easily
understand
which
API
is
capable
of
which
feature
and
you
can
directly
navigate
to
the
corresponding
guide.
So,
for
example,
regarding
creating
a
data
set,
graphql
cannot
do
it
python,
SDK
and
open
it
open
API.
A
You
can
do
it,
but
and
we
have
a
guide
for
python
SDK,
so
you
can
see
the
actual
code
snippet.
That
is
needed
to
create
a
data
set
using
python,
SDK
Okay
so,
and
we
have
this
little
collections
of
our
use
cases
so
far,
but
we're
still
still
filling
this
table
out
and
we're
really
really
welcome
any
feedback
or
suggestions
or
requests
here.
A
So
if
you
think
any
of
the
use
cases
is
missing,
just
ping
me,
we
hear
you
so
yeah
and
I
just
want
to
run
through
a
quick
demo
of
how
to
follow
one
of
these
guides
from
scratch.
So
I
just
chose
creating
terms
with
graphql
and
python
SDK.
A
So
there's
this
little
prerequisitis
that
you
need
for
this
guide.
You
just
need
to
deploy
data
Hub,
Kickstart
and
in
just
simple
data.
It
just
needs
a
couple
of
shell
commands.
It's
really
simple,
I
already
deployed
it
local,
so
I'll
just
start
here,
so
you
have
two
methods
of
experimenting
with
graphql.
One
is
graphql
Explorer,
which
is
the
simplest
and
fastest
way
and
call
so
regarding
graphql
Explorer,
you
can
just
visit
this
certain
API
endpoint.
So
it's
just.
A
You
can
experiment
all
of
the
graphql
queries
and
you
can
also
see
the
docs
here.
So,
let's
copy
just
this
Curry
and
run
it
so
it'll
return
you
a
URL
of
a
created
glossary
term.
So
let's
just
see
how
this
actually
worked.
A
So
if
you
go
to
the
glossary
you
can
like,
for
example,
you
can
visit,
govern
and
glossary
and
you
can
see
the
radar
return
because
three
times
here
with
the
same
description
we
specify
in
the
query:
okay,
so
that
was
graphql
Explorer
and
with
curl.
You
can
just
copy
this
method
and
run
if
your
initial
type,
so,
let's
just
make
sure
we
don't
create
the
same
with
the
same
name
here.
So
I'll
just
fix
this
to
rate
of
return,
and
it
will
give
you
the
same
response
with
the
arms
you
are
in.
A
So
let's
just
refresh
and
you
can
see
rate
of
return
2
is-
has
been
created
here.
Okay,
so
next
thing
is
python
SK,
so
we're
using
metadata
change
proposal
wrapper
here,
it's
more
like
a
low
level
approach.
That
gives
you
more
flexibility,
but
it's
more.
It
requires
more
understanding,
I
think
yeah.
So
let's
just
create
a
file
called
create
term
python,
SDK
and
just
copy
this
code
and
let's
just
make
sure
that
we
don't
create
the
same
term
with
the
same
record.
So
I'll
just
fix
it
and
then
just
run
this
file.
A
So
we
just
gives
you
the
log
of
terms
you
are
in
yeah
and
if
you
click
refresh
here,
you
can
see
the
term
has
been
created.